Skip to content

FilePathComponent.getFile method

FilePathComponent › getFile

Resolves the typed path, normalized with Obsidian's normalizePath, to a vault file.

Signature:

getFile(): null | TFile

Returns: null | TFile — The file, or null when the input is empty or names no file.