Skip to content

Vault.getAllFolders method

Vault › getAllFolders

Official

Get all folders in the vault.

Signature:

getAllFolders(includeRoot?: boolean | undefined): TFolder[]

Parameters:

ParameterTypeDescription
includeRoot?boolean | undefinedWhether to include the root folder (/).

Returns: TFolder[]

Since: 1.6.6