ObsidianSearchQuery.matchFilename method
ObsidianSearchQuery › matchFilename
Unofficial
Matches a file path's name against the query.Signature:
matchFilename(path: string): null | SearchMatchResultParameters:
| Parameter | Type | Description |
|---|---|---|
| path | string | The file path. |
Returns: null | SearchMatchResult — The match result, or null on no match.