validation/range library

Classes

Maximum
A FieldValidator that restricts a numeric type to a maximum value.
Minimum
A FieldValidator that restricts a numeric type to a minimum value.
Range
A FieldValidator that restricts a numeric type to a minimum and maximum value.

Constants

negative → const Range
A FieldValidator that restricts a numeric type to be negative.
negativeOrZero → const Range
A FieldValidator that restricts a numeric type to be negative or zero.
positive → const Range
A FieldValidator that restricts a numeric type to be positive.
positiveOrZero → const Range
A FieldValidator that restricts a numeric type to be positive or zero.