Atex.Lexicon.Validators.String (atex v0.7.1)
View SourceSummary
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()