Skip to main content
Module

x/zod/index.ts>z.ZodFunctionDef

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

Type Parameters

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

Properties

args: Args
returns: Returns
typeName: ZodFirstPartyTypeKind.ZodFunction