Creates a FilterOperator — an array filter operator by predicate.
— array element type
— filter predicate function
const op = createFilterOperator<number>(n => n % 2 === 0);op.apply([1, 2, 3, 4]); // [2, 4] Copy
const op = createFilterOperator<number>(n => n % 2 === 0);op.apply([1, 2, 3, 4]); // [2, 4]
Creates a FilterOperator — an array filter operator by predicate.