pro_validator library
Classes
- EmailValidator
- Ensures the value is a validly formatted email address.
- HasANumberValidator
- Ensures the value contains a minimum of one numeric character.
- HasLowercaseValidator
- Ensures the value contains a minimum of one lowercase character.
- HasUppercaseValidator
- Ensures the value contains a minimum of one uppercase character.
- LengthRangeValidator
-
Ensures the value length is contained in the range
min, max
. - MatchValidator
- A special match validator to check if the v1 equals v2 value.
- MaxLengthValidator
- Ensures the value length contains no more than a set number of characters.
- MinLengthValidator
- Ensures the value length contains no fewer than a set number of characters.
- MultiValidator
- Group together and validate the basic validators.
- NumRangeValidator
-
Ensures the num value is contained in the range
min, max
. - PatternValidator
- Ensures a custom regular expression string.
- PhoneValidator
- Ensures the value is a validly formatted phone number.
- RequiredValidator
- Ensures the value is not empty, not white space only.
- TextValidator
- UrlValidator
- Ensures the value is a validly formatted URL.
-
Validator<
T>