New to Kendo UI for Angular? Start a free 30-day trial


Creates a Predicate function for the specified CompositeFilterDescriptor.

import { compileFilter } from '@progress/kendo-data-query';

const data = [{ name: "Pork" }, { name: "Pepper" }, { name: "Beef" } ];
const predicate = compileFilter({ logic: "and", filters: [{ field: "name", operator: "startswith", value: "P" }] });
const result = data.filter(predicate);


descriptor CompositeFilterDescriptor

The descriptor for which the predicate is created.


Predicate - The created function instance.

In this article

Not finding the help you need?