==/2 - equals/2 - compare two values for equality
This operator compares two values for equality.
$EXPR1 == $EXPR2
$EXPR1 equals $EXPR2
$EXPR1 equals $EXPR2
==/2 arguments
Argument | Type | Description |
---|---|---|
$EXPR1 |
| Expression to the left of the operator |
$EXPR2 |
| Expression to the right of the operator |
Use ==/2 to test for the equality of two expressions $EXPR1 and $EXPR2.
When comparing lists, the corresponding list elements are compared one at a time. Therefore, the lists [a,b] and [b,a] are not equal.
==/2 - equals/2 example
$E.status == OPEN
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*