Table of Contents
As any other programming language YCP
knows a lot of operators that
can be used to act on data.
These are binary operators for comparison of two values. The result is always boolean.
Operator | Datatype | Description |
---|---|---|
== | almost all | True if operands are equal, otherwise false. |
< | almost all | True if left operand is smaller than the right one, otherwise false. |
> | almost all | True if left operand is greater than the right one, otherwise false. |
<= | almost all | True if left operand is smaller or equal to the right one, otherwise false. |
>= | almost all | True if left operand is greater or equal to the right one, otherwise false. |
!= | almost all | True if operands are not equal, otherwise false. |