Bro provides the usual comparison operators:
==
,
!=
,
<
,
<=
,
>
,
and
>=
.
They each take two operands, which
they convert to the higher of the two types (see Mixing Numeric Types).
They return a bool
corresponding to the comparison of the operands.
For example,
3 < 3.000001
yields true.
The comparison operators are all non-associative and have equal precedence, just below that of the just above that of the See , for a general discussion of precedence.