Skip to main content

Home > @rushstack/node-core-library > FileSystem > isExistError

FileSystem.isExistError() method

Returns true if the error object indicates the file or folder already exists (EEXIST ).

Signature:
static isExistError(error: Error): boolean;

Parameters

ParameterTypeDescription
errorError
Returns:

boolean