Type guard for determining whether the given value is an error object with a code property such as the type of error that Node throws for filesystem operations, etc.
code
A boolean.
The object to check.
Type guard for determining whether the given value is an error object with a
code
property such as the type of error that Node throws for filesystem operations, etc.Returns
A boolean.