< (Less Than Operator)

Checks whether the left value is less than 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 isLess = 3 < 5  // isLess = true
isLess = 3 < 5  // isLess = true