defaultMatcher()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Default matcher for the search. Supports title, name, description, summary.
export declare function defaultMatcher<I extends SearchItem, G extends SearchItemGroup<I>>(item: I | G | string, searchQueryUpper: string): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
item | I | G | string | |
searchQueryUpper | string |
Returns
boolean