Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 547 Bytes

isAssertionSystemError.md

File metadata and controls

23 lines (12 loc) · 547 Bytes

@black-flag/coreDocs


@black-flag/core / util / isAssertionSystemError

Function: isAssertionSystemError()

isAssertionSystemError(error): error is ErrnoException & Object

Type-guard for Node's "ERR_ASSERTION" so-called SystemError.

Parameters

error: unknown

Returns

error is ErrnoException & Object

Defined in

src/util.ts:479