Checks if value is less than or equal to other.
value
other
The value to compare.
The other value to compare.
Returns true if value is less than or equal to other, else false.
true
false
5.7.0
[[gt]], [[gte]], [[lt]]
lte(1, 3)// => truelte(3, 3)// => truelte(3, 1)// => false Copy
lte(1, 3)// => truelte(3, 3)// => truelte(3, 1)// => false
Checks if
value
is less than or equal toother
.