$eq
$eq
operator lets you evaluate equal to between 2 values to be compared. You can use this in any Conditional Objects.
Syntax
{
<key>: {
"$eq": <value>
}
}
Properties
Field
Description
Required
<key>
The key which needs to be compared with the value. This can also be a Magical Autocomplete.
true
<value>
The value to compare the <key>
with.
This can also be a Magical Autocomplete.
true
Examples
Let's say we have declared a variable age
in our API flow, which has a value of 20 currently.
{
"$.variables.age": {
"$eq": 20
}
}
The above expression would resolve to true.
Last updated