# Module cloudi_args_type

- Description
- Function Index
- Function Details

### CloudI Service Configuration Arguments Type Checking

Functions to simplify validation done during service initialization.

Copyright © 2015-2019 Michael Truog

Version: 1.8.0 Jun 3 2020 18:48:04 ------------------------------------------------------------------------

Authors: Michael Truog (`mjtruog at protonmail dot com`).

## Description

### CloudI Service Configuration Arguments Type Checking

Functions to simplify validation done during service initialization.

## Function Index

function_optional/2 |
function_required/2 |
function_required_pick/2 |
service_name_pattern_suffix/2 |
service_name_suffix/2 |

## Function Details

### function_optional/2

`function_optional(Function::undefined | {{module(), atom()}} | {module(), atom()} | function(), Arity::non_neg_integer()) -> undefined | function()`

### function_required/2

`function_required(Function::{{module(), atom()}} | {module(), atom()} | function(), Arity::non_neg_integer()) -> function()`

### function_required_pick/2

`function_required_pick(Function::{{module(), atom()}} | {module(), atom()} | function(), ArityOrder::[non_neg_integer(), ...]) -> {function(), Arity::non_neg_integer()}`

### service_name_pattern_suffix/2

`service_name_pattern_suffix(Prefix::cloudi:service_name_pattern(), Pattern::cloudi:service_name_pattern()) -> string()`

### service_name_suffix/2

`service_name_suffix(Prefix::cloudi:service_name_pattern(), Name::cloudi:service_name()) -> string()`

Generated by EDoc