Skip to main content
Module

x/zod/mod.ts>z.ZodLazy

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

Type Parameters

T extends ZodTypeAny

Properties

readonly
schema: T

Methods

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

Static Properties

create: <T extends ZodTypeAny>(getter: () => T, params?: RawCreateParams) => ZodLazy<T>