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

x/zod/index.ts>z.ZodVoid

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

Methods

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

Static Properties

create: (params?: RawCreateParams) => ZodVoid