Skip to main content
Module

x/zod/index.ts>ZodFunctionDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface ZodFunctionDef
implements ZodTypeDef
import { type ZodFunctionDef } from "https://deno.land/x/zod@v3.20.3/index.ts";

Type Parameters

optional
Args extends ZodTuple<any, any> = ZodTuple<any, any>
optional
Returns extends ZodTypeAny = ZodTypeAny

Properties

args: Args
returns: Returns
typeName: ZodFirstPartyTypeKind.ZodFunction