Home > @rushstack/node-core-library > FileSystem > isNotDirectoryError
FileSystem.isNotDirectoryError() method
Returns true if the error object indicates the target is not a directory (ENOTDIR
).
Signature:
static isNotDirectoryError(error: Error): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
error | Error |
Returns:
boolean