<= (Less Than or Equal Operator)

Checks whether the left value is less than or equal to the right. Both operands must have the same type: int, float, string or bool. Strings use byte order, and false < true. An ordered comparison involving NaN returns false. See the ordering rules.

Example

let isLessOrEqual = 5 <= 5  // isLessOrEqual = true
isLessOrEqual = 5 <= 5  // isLessOrEqual = true