Skip to content

Vault.checkForDuplicate method

Vault › checkForDuplicate

Unofficial

Check whether new file path is available

Signature:

checkForDuplicate(file: TAbstractFile, newPath: string): boolean

Parameters:

Parameter Type Description
file TAbstractFile The file to check.
newPath string The new path to check.

Returns: booleanWhether the new path is available.