Nodenode-coreReferenceFunctionsFunction: directoryExists()On this pageFunction: directoryExists() directoryExists(directory): Promise<boolean> Does the specified directory exist. Parameters directory string The directory to check for existence. Returns Promise<boolean> True if the directory exists.