Skip to main content

isInvalidTypeError

Type guard function to check if the given error is an InvalidTypeError

Signature

const isInvalidTypeError: (error: unknown) => error is InvalidTypeError

Parameters

NameTypeDescription
error-The error object to check

Returns

Whether the error is an InvalidTypeError