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
| Parameter | Type | Description |
|---|---|---|
path | string |
Returns:
TFile | null