prepareSimpleSearch
prepareSimpleSearch(
query
): (text
) =>SearchResult
|null
Defined in: obsidian.d.ts:3388
Construct a simple search callback that runs on a target string.
Parameters
query
string
the space-separated words
Returns
Function
fn - the callback function to apply the search on
Parameters
text
string
Returns
SearchResult
| null