Comparison Operators
The following binary comparison operators are supported in expressions.
The operands can be numeric or strings.
Strings are compared using lexicographic string comparison.
false.Equality Operators
Equality Operator (==)
OPERAND-A == OPERAND-B
The equality operator (==) returns true if the operands are equal; otherwise, returns false.
Inequality Operator (!=)
The inequality operator (!=) returns true if the operands are not equal; otherwise, returns false.
OPERAND-A != OPERAND-B
Relational Operators
Greater-Than Operator (>)
OPERAND-A > OPERAND-B
The greater-than operator (>) returns true if the left operand (OPERAND-A) is greater than the right operand (OPERAND-B); otherwise, returns false.
Greater-Than or Equal-To Operator (>=)
OPERAND-A >= OPERAND-B
The greater-than or equal-to operator (>=) returns true if the left operand (OPERAND-A) is greater than or equal to the right operand (OPERAND-B); otherwise, returns false.
Less-Than Operator (<)
OPERAND-A < OPERAND-B
The less-than operator (<) returns true if the left operand (OPERAND-A) is less than the right operand (OPERAND-B); otherwise, returns false.
Less-Than or Equal-To Operator (<=)
OPERAND-A <= OPERAND-B
The less-than or equal-to operator (<=) returns true if the left operand (OPERAND-A) is less than or equal to the right operand (OPERAND-B); otherwise, returns false.