FilterTernary: [ | | null
| boolean
, , | | null
| boolean
]
When combining three or more conditions, you must use proper nesting rather than a flat list.
// A simple filter with a single condition
const filter = [
["AREA", "gt", 30_000],
"and",
["COLOR", "eq", "red"]
]
// A complex filter with multiple conditions
const filter = [
["AREA", "gt", 30_000],
"and",
[
["COLOR", "eq", "red"],
"or",
["TYPE", "eq", "residential"]
]
]