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
Parameter | Type | Description |
---|---|---|
err | unknown |
Returns
err is ZodError<any>
function isZodErrorLike(err: unknown): err is ZodError<any>
Defined in: packages/iso-filecoin/src/utils.js:214
Check if an error is a ZodError
Parameter | Type | Description |
---|---|---|
err | unknown |
err is ZodError<any>