New to Kendo UI for Angular? Start a free 30-day trial
MatcherFunction
Updated over 1 year ago
Represents a function that checks if a match is valid based on a source text and a term.
TS
const matcher: MatcherFunction = (dataItem: object, searchTerm: string) => dataItem.firstName.indexOf(searchTerm) >= 0;