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:

Parameter Type Description
path string The path to check.
isCaseSensitive? boolean | undefined Whether the check should be case sensitive.

Returns: Promise<boolean>Whether the path exists.