> (Greater Than Operator)

Checks whether the left value is greater 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 isGreater = 7 > 3  // isGreater = true
isGreater = 7 > 3  // isGreater = true