Skip to content

isZodErrorLike

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

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

Check if an error is a ZodError

Parameters

ParameterTypeDescription
errunknown

Returns

err is ZodError<any>