$gt
$gt operator lets you evaluate greater than between 2 values to be compared. You can use this in any Conditional Objects.
Syntax
{
<key>: {
"$gt": <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": {
"$gt": 20
}
}The above expression would resolve to false.
Last updated