Skip to content

Vault.checkForDuplicate method

Vault › checkForDuplicate

Unofficial

Check whether new file path is available

Signature:

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

Parameters:

ParameterTypeDescription
fileTAbstractFileThe file to check.
newPathstringThe new path to check.

Returns: booleanWhether the new path is available.