Atex.Lexicon.Validators.String
(atex v0.10.0)
View Source
Summary
Types
@type option() :: {:format, String.t()} | {:min_length, non_neg_integer()} | {:max_length, non_neg_integer()} | {:min_graphemes, non_neg_integer()} | {:max_graphemes, non_neg_integer()}
Functions
@spec validate(term(), [option()]) :: Peri.validation_result()