Skip to main content
Module

x/zod/mod.ts>z.ZodUndefined

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

Properties

optional
params: RawCreateParams

Methods

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

Static Properties

create: (params?: RawCreateParams) => ZodUndefined