5.1.5 Relational operators

The following relational operators are available.

Operator

Overview

==

Compares whether values of first term and second term are equivalent.

!=

Compares whether values of first term and second term are not equivalent.

>

Compares whether value of first term is greater than value of the second.

>=

Compares whether value of first term is greater than or equivalent to the value of the second term.

<

Compares whether value of first term is smaller than value of the second.

<=

Compares whether value of first term is smaller than or equivalent to the value of the second term.

&&

Calculates the logical product of the logical value of the first and second operands.

||

Calculates the logical sum of the logical value of the first and second operands.