smallerOrEqual constant
String
const smallerOrEqual
Returns true
if the first input is less than or equal to the second,
false
otherwise. The arguments are required to be either both
strings or both numbers; if during evaluation they are not, expression
evaluation produces an error. Cases where this constraint is known not
to hold at parse time are considered in valid and will produce a parse
error. Accepts an optional collator
argument to control
locale-dependent string comparisons.
Sdk Support: basic functionality with js, android, ios, macos
Implementation
static const smallerOrEqual = "<=";