Vault โ€บ getFileByPath

Vault.getFileByPath() method

Get a file inside the vault at the given path. Returns null if the file does not exist.

Signature:

getFileByPath(path: string): TFile | null;

Parameters

ParameterTypeDescription
pathstring

Returns:

TFile | null