raw_validator() = {validator, string(), string(), validator_fun()}
validator() = #validator{name = string(), description = string(), func = function()}
validator_fun() = fun((any()) -> boolean())
description/1 | |
func/1 | |
is_validator/1 | |
name/1 | |
parse/1 | |
parse_and_merge/2 | |
replace/2 |
description(V::validator()) -> string()
func(V::validator()) -> function()
is_validator(V::any()) -> boolean()
name(V::validator()) -> string()
parse(X::raw_validator()) -> validator() | cuttlefish_error:error()
parse_and_merge(ValidatorSource::raw_validator(), Validators::[validator()]) -> [validator() | cuttlefish_error:error()]
replace(Validator::validator(), ListOfValidators::[validator()]) -> [validator()]
Generated by EDoc