Skip to main content

Function: 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.