Skip to main content

Function: fileExists()

fileExists(filename): Promise<boolean>

Does the specified file exist.

Parameters

filename

string

The filename to check for existence.

Returns

Promise<boolean>

True if the file exists.