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
| Parameter | Type | Description |
|---|---|---|
| error | Error |
Returns:
boolean