prepareSimpleSearch
export function prepareSimpleSearch(query: string): (text: string) => SearchResult | null;
Construct a simple search callback that runs on a target string.
Parameters
Parameter | Description |
---|---|
query | the space-separated words |
export function prepareSimpleSearch(query: string): (text: string) => SearchResult | null;
Construct a simple search callback that runs on a target string.
Parameter | Description |
---|---|
query | the space-separated words |