Skip to content

Vault.exists method

Vault › exists

Unofficial

Check whether a path exists in the vault.

Signature:

exists(path: string, isCaseSensitive?: boolean | undefined): Promise<boolean>

Parameters:

ParameterTypeDescription
pathstringThe path to check.
isCaseSensitive?boolean | undefinedWhether the check should be case sensitive.

Returns: Promise<boolean>Whether the path exists.