Skip to content

isZodErrorLike

function isZodErrorLike(err: unknown): err is ZodError<any>;

Defined in: packages/iso-filecoin/src/utils.js:326

Check if an error is a ZodError

Parameters

ParameterType
errunknown

Returns

err is ZodError<any>