validators/number library
Number Validators
This file contains validators for numeric values.
Functions
-
isGt<
T extends num> (T min, {String? message}) → IValidator -
Checks whether the given value is greater than
min -
isGte<
T extends num> (T min, {String? message}) → IValidator -
Checks whether the given value is greater or equal to
min -
isInRange<
T extends num> (T min, T max, {String? message}) → IValidator -
Checks whether the given numeric value is within the range
min,max(inclusive). -
isLt<
T extends num> (T max, {String? message}) → IValidator -
Checks whether the given value is less than
max -
isLte<
T extends num> (T max, {String? message}) → IValidator -
Checks whether the given value is less than or equal
max