Vault › getFileByPath
Official
Get a file inside the vault at the given path.
Signature:
getFileByPath(path: string): TFile | null
Parameters:
| Parameter | Type | Description |
|---|
| path | string | The path of the file. |
Returns: TFile | null — The file, or null if it does not exist.
Since: 1.5.7