Function: hasErrorKind()
ts
function hasErrorKind(value, kind): boolean;Defined in: src/core/errors/kinds.ts:27
Whether value is one of this package's errors of the given kind.
Parameters
| Parameter | Type |
|---|---|
value | unknown |
kind | ErrorKind |
Returns
boolean