The interface for oj.FilterOperator
- Since:
- 5.0.0
Fields
-
op :oj.AttributeFilterOperator.AttributeOperator|oj.CompoundFilterOperator.CompoundOperator
PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.
-
The operator, either an oj.AttributeFilterOperator.AttributeOperator or oj.CompoundFilterOperator.CompoundOperator.
- Since:
- 5.0.0
Methods
-
filter(data) → {Array}
PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.
-
Optional function which is used to locally filter the data.
Parameters:
Name Type Description dataArray The data to filter - Since:
- 5.0.0
Returns:
filtered data- Type
- Array