FilterGroup Class
A class that groups two or more logical filters or filter groups together. It can be executed against a JSON or generate a filter string that can be used with the Bing Spatial Data Services.
Constructor
FilterGroup(filters: (Filter or FilterGroup)[], operator: FilterLogicalOperator, not?: boolean)
Methods
Name | Return Type | Description |
---|---|---|
execute(object: any) |
boolean | Executes the filter group logic against a JSON object and returns a boolean indicating if the object meets the requirement of the Filter. |
toString() |
string | Converts the filter group logic into a string format that is compatible with the Bing Spatial Data Services. |