datatype() = integer | string | atom | file | directory | flag | {flag, atom(), atom()} | {flag, {atom(), term()}, {atom(), term()}} | {enum, [atom()]} | ip | fqdn | {duration, cuttlefish_duration:time_unit()} | bytesize | {percent, integer} | {percent, float} | float | {list, datatype()}
datatype_list() = [datatype() | extended()]
extended() = {integer, integer()} | {string, string()} | {file, file:filename()} | {directory, file:filename()} | {atom, atom()} | {ip, {string(), integer()}} | {{duration, cuttlefish_duration:time_unit()}, string()} | {bytesize, string()} | {{percent, integer}, integer()} | {{percent, float}, float()} | {float, float()}
extended_from/1 | |
from_string/2 | |
is_extended/1 | |
is_supported/1 | |
is_valid_list/1 | |
to_string/2 |
extended_from(Other::extended()) -> datatype()
from_string(Atom::term(), Type::datatype()) -> term() | cuttlefish_error:error()
is_extended(X1::any()) -> boolean()
is_supported(X1::any()) -> boolean()
is_valid_list(NotList::any()) -> boolean()
to_string(Atom::term(), Type::datatype()) -> string() | cuttlefish_error:error()
Generated by EDoc