comparison expressions you can compare values of comparable types.
The result is always one of the two Boolean values,
various forms of
a > b
sin x == 0.0
a + b <= n - 1
Comparison operations have lower precedence than math operations. In the previous examples, the sin function call and the "+" and "-" operations are performed before the comparisons.
As with math expressions, the comparison operators work on all appropriate types. Equal "==" and not-equal "!=" operate on all types, and the relative comparisons work between comparable types. The allowable comparison operators are documented with the value type descriptions.