Skip to content

ObsidianSearchQuery.matchContent method

ObsidianSearchQuery › matchContent

Unofficial

Matches content against the query.

Signature:

matchContent(content: string): null | SearchMatchResult

Parameters:

ParameterTypeDescription
contentstringThe content to match.

Returns: null | SearchMatchResult — The match result, or null on no match.