Skip to content

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

ParameterType
valueunknown
kindErrorKind

Returns

boolean