Zod · Type Alias
ZodSchema
Zod schemas describe the data your TypeScript program expects. Use .parse to validate an input and receive typed data when it matches the schema.
Last updated
Syntax
schema.parse(input)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
z.objectz.stringz.numberparseparseAsyncZod Mini