Add rule that the value must be a number between min and max (inclusive)
Minimum inclusive value
Maximum inclusive value
Returns true if the value is a number between given min and max
Get all rules created so far
All the created rules as an array
Add rule that the value must be a number and maximum max (inclusive)
Maximum inclusive value
Returns true if the value is a number and maximum given max
Add rule that the value must be a number and minimum min (inclusive)
Minimum inclusive value
Returns true if the value is a number and minimum given min
Add rule that the value must be a number
Optional specific validation message for the UI
Returns true if the value is a number
Add required rule for validation chain
Optional specific validation message for the UI
Returns true if the value is set
Validate a value based on added rules
Value to validate
True if it validates or else validation message
Generated using TypeDoc
Validation is a utility class for creating a chain of validation rules.