isLte function

IEskValidator isLte(
  1. num max
)

Checks whether the given value is less than or equal max

Implementation

IEskValidator isLte(num max) =>
    isType<num>() & ((isLt(max) | isEq(max)) > "less than or equal to $max");