defaultMatcher()
Home > @gooddata/sdk-ui-semantic-search > defaultMatcher
defaultMatcher() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Default matcher for the search. Supports title, name, description, summary.
Signature:
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