UNPKG

zod

Version:

TypeScript-first schema declaration and validation library with static type inference

7 lines (6 loc) 300 B
export var errorUtil; (function (errorUtil) { errorUtil.errToObj = (message) => typeof message === "string" ? { message } : message || {}; // biome-ignore lint: errorUtil.toString = (message) => typeof message === "string" ? message : message?.message; })(errorUtil || (errorUtil = {}));