ez.no / exponential / documentation / reference / template operators / logic / ne
ne( value1, value2 [, ...] )
| Name | Type | Description | Required |
|---|---|---|---|
| value1 | mixed | Value to be evaluated. | Yes. |
| value2 | mixed | Value to be evaluated. | Yes. |
| ... |
True or nothing.
This operator returns true if one or more of the parameters do not match. Matching is casual. This means that an integer of value 0 will match a boolean of type false. If all parameters match, the operator will not return anything.
Example 1
{ne( 2, 2, 3 )}
returns true.
Example 2
{ne( 2, 2, 2 )}
does not return anything.
Comments