validators.string library

Classes

AlphaNumericValidator
Checks whether the value contains of only alphanumeric characters. [...]
AlphaValidator
Checks whether the value contains of only alpha characters. [...]
AsciiValidator
Checks whether the value contains of only ascii characters. [...]
Base64Validator
Checks whether the value is valid base64 encoding. [...]
ByteLengthValidator
Checks whether the value has a byte length between $min and $max. [...]
CreditCardNumberValidator
Checks whether the value is a valid credit card number. [...]
EmailValidator
Checks whether the value is a valid email address. [...]
FqdnValidator
Checks whether the value is a valid fully qualified domain name. [...]
HexadecimalValidator
Checks if the value is a valid hexadecimal. [...]
HexColorValidator
Checks if the value is a valid hex color. [...]
IpValidator
Checks if the value is a valid ip address. [...]
ISBNValidator
Checks if the value is a valid ISBN number. [...]
JsonValidator
Checks if the value is a valid JSON string. [...]
LowercaseValidator
Checks if the value is in all lowercase. [...]
MongoIdValidator
Checks if the value is a valid mongo id. [...]
NumericValidator
Checks
PatternValidator
UppercaseValidator
Checks if the value is in all uppercase. [...]
UrlValidator
Checks whether the value is a valid url. [...]
UuidValidator
Checks whether the value is a valid UUID. [...]

Properties

stringValidators → List<Type>
final