Skip to content

Vault.getFolderByPath method

Vault › getFolderByPath

Official

Get a folder inside the vault at the given path.

Signature:

getFolderByPath(path: string): TFolder | null

Parameters:

ParameterTypeDescription
pathstringThe path of the folder.

Returns: TFolder | null — The folder, or null if it does not exist.

Since: 1.5.7