# 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-2021 Michael Truog

Version: 2.0.3 Dec 3 2021 17:15:32 ------------------------------------------------------------------------

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 |
priority/1 |
service_name/1 |
service_name_pattern_suffix/2 |
service_name_suffix/2 |
timeout_milliseconds/1 |

## 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()}`

### priority/1

`priority(Priority::cloudi:priority()) -> true`

### service_name/1

`service_name(Name::cloudi:service_name()) -> true`

### service_name_pattern_suffix/2

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

### service_name_suffix/2

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

### timeout_milliseconds/1

`timeout_milliseconds(Timeout::cloudi:timeout_milliseconds()) -> true`

Generated by EDoc