isLte function
- num max
Checks whether the given value is less than or equal max
Implementation
IValidator isLte(num max) =>
isType<num>() &
((isLt(max) | isEq(max)) > Expectation(
message: 'less than or equal to $max',
code: 'value.range_out_of_bounds',
data: {'operator': '<=', 'limit': max}));