Vault.checkForDuplicate method
Vault › checkForDuplicate
Unofficial
Check whether new file path is availableSignature:
checkForDuplicate(file: TAbstractFile, newPath: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| file | TAbstractFile | The file to check. |
| newPath | string | The new path to check. |
Returns: boolean — Whether the new path is available.