Skip to content

ObsidianSearchQuery.matchFilepath method

ObsidianSearchQuery › matchFilepath

Unofficial

Matches a file path against the query.

Signature:

matchFilepath(path: string): null | SearchMatchResult

Parameters:

ParameterTypeDescription
pathstringThe file path.

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