$ne
The$ne operator checks if two values are not equal.
Input
- An array containing exactly two values to compare
Output
trueif the two values are not equalfalseif the two values are equal
Examples
Basic Inequality
true
Equality (Returns False)
false
Comparing Field Values
true if the status field is not “inactive”, otherwise false
Number Comparison
true if the count field is not equal to 0, otherwise false
