ComparisonFilter interface
A filter used to compare a specified attribute key to a given value using a defined comparison operation.
Properties
| key | The key to compare against the value. |
| type | Specifies the comparison operator:
|
| value | The value to compare against the attribute key; supports string, number, or boolean types. |
Property Details
key
The key to compare against the value.
key: string
Property Value
string
type
Specifies the comparison operator: eq, ne, gt, gte, lt, lte, in, nin.
eq: equalsne: not equalgt: greater thangte: greater than or equallt: less thanlte: less than or equalin: innin: not in
type: "eq" | "ne" | "gt" | "gte" | "lt" | "lte"
Property Value
"eq" | "ne" | "gt" | "gte" | "lt" | "lte"
value
The value to compare against the attribute key; supports string, number, or boolean types.
value: string | number | boolean | ComparisonFilterValueItems[]
Property Value
string | number | boolean | ComparisonFilterValueItems[]