Skip to content

fuzzySearch

Unofficial

Fuzzy search.

Import:

import { fuzzySearch } from 'obsidian';

Signature:

function fuzzySearch(queryForFuzzySearch: QueryForFuzzySearch, text: string): null | SearchResult

Parameters:

Parameter Type Description
queryForFuzzySearch QueryForFuzzySearch the query for fuzzy search.
text string the text to search in.

Returns: null | SearchResult — the search result or null if the text does not match the query.