Home > @rushstack/node-core-library > FileSystem > isFolderDoesNotExistError
FileSystem.isFolderDoesNotExistError() method
Returns true if the error object indicates the folder does not exist (ENOTDIR).
Signature:
static isFolderDoesNotExistError(error: Error): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| error | Error |
Returns:
boolean