$eq
The$eq operator checks if two values are equal.
Input
- An array containing exactly two values to compare
Output
trueif the two values are equalfalseif the two values are not equal
Examples
Basic Equality
true
Inequality
false
Comparing Field Values
true if the status field equals “active”, otherwise false
Number Comparison
true if the count field equals 10, otherwise false
