ValidationRuleBuilder
Builder for creating a set of validation rules.
Parameters
V
The type of the value to be validated.
Functions
Link copied to clipboard
Builds the set of rules.
Link copied to clipboard
Adds a rule to the set of rules.
Link copied to clipboard
Validates that the boolean value is false
.
Link copied to clipboard
Validates that the double value is NaN
.
Validates that the float value is NaN
.
Link copied to clipboard
Validates that the boolean value is true
.
Link copied to clipboard
Validates that the string value is not blank.
Link copied to clipboard
Validates that the array is not empty.
Validates that the string value is not empty.
Validates that the collection is not empty.
Link copied to clipboard
Validates that the double value is not NaN
.
Validates that the float value is not NaN
.
Link copied to clipboard
Validates that the optional value is not null
.
Link copied to clipboard
Validates that the string matches the pattern.