Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/index.ts>z.ZodUndefined

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
class z.ZodUndefined
extends ZodType<undefined, ZodUndefinedDef>
import { z } from "https://deno.land/x/zod@v3.22.1/index.ts";
const { ZodUndefined } = z;

Properties

optional
params: RawCreateParams

Methods

_parse(input: ParseInput): ParseReturnType<this["_output"]>

Static Properties

create: (params?: RawCreateParams) => ZodUndefined