Comparison operators
==
, =
, !=
, <
, >
, <=
, >=
operators create properties that implement comparison operations.
Syntax
expression1 == expression2
expression1 = expression2
expression1 != expression2
expression1 < expression2
expression1 > expression2
expression1 <= expression2
expression1 >= expression2
Parameters
-
expression1, expression2
Expressions which values are the arguments of a comparison operator.
Examples
equalBarcodes = barcode(a) == barcode(b);
outOfIntervalValue1(value, left, right) = value < left OR value > right;
outOfIntervalValue2(value, left, right) = NOT (value >= left AND value <= right);