Skip to content

ObsidianSearchQuery.match method

ObsidianSearchQuery › match

Unofficial

Matches a file (and optionally its content) against the query.

Signature:

match(file: TFile, content: string): unknown

Parameters:

Parameter Type Description
file TFile The file to match.
content string The file content.

Returns: unknownThe match result.