fuzzySearch
Unofficial
Fuzzy search.
Import:
import { fuzzySearch } from 'obsidian';Signature:
function fuzzySearch(queryForFuzzySearch: QueryForFuzzySearch, text: string): SearchResult | nullParameters:
| Parameter | Type | Description |
|---|---|---|
queryForFuzzySearch | QueryForFuzzySearch | the query for fuzzy search. |
text | string | the text to search in. |
Returns: SearchResult | null — the search result or null if the text does not match the query.