FilterGroup Class

Bing
 

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.

FilterGroup(filters: (Filter or FilterGroup)[], operator: FilterLogicalOperator, not?: boolean)

NameReturn TypeDescription
execute(object: any)booleanExecutes the filter group logic against a JSON object and returns a boolean indicating if the object meets the requirement of the Filter.
toString()stringConverts the filter group logic into a string format that is compatible with the Bing Spatial Data Services.
Show: