Next: , Previous: Arithmetic Operators, Up: Built-in Operators


3.2.2 Relational Operators

Relational binary operators work on integers, reals, and strings. For strings, less-than is interpreted as the left operand being lexicographically before the right operand.

==
equiality
!=
inequality
<
less-than
<=
less-than-or-equal
>
greater-than
>=
greater-than-or-equal