Interface: FilterOperator
Signature:
interface FilterOperator<D>
FilterOperator
- Version:
- Since:
- Module:
Module usage
See JET Module Loading for an overview of module usage within JET.
Typescript Import Format
//To use this interface, import as below.
import {FilterOperator} from "ojs/ojdataprovider";
Generic Parameters
| Parameter | Description |
|---|
| D | Type of Data |
JET In Typescript
A detailed description of working with JET elements and classes in your typescript project can be found at:
JET Typescript Usage.
The interface for oj.FilterOperator
- Deprecated:
| Since |
Description |
7.0.0 |
Use AttributeFilter or CompoundFilter instead. |
Fields
-
-
The operator, either an oj.AttributeFilterOperator.AttributeOperator or oj.CompoundFilterOperator.CompoundOperator.
- Since:
Methods
-
filter(data) : {Array}
-
Optional function which is used to locally filter the data.
Parameters:
| Name |
Type |
Description |
data |
Array
|
The data to filter
|
- Since:
Returns:
filtered data
-
Type
-
Array