x/zod/mod.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
interface ZodFunctionDef
implements ZodTypeDef
import { type ZodFunctionDef } from "https://deno.land/x/zod@v3.17.3/mod.ts?s=ZodFunctionDef";

Type Parameters

optional
Args extends ZodTuple<any, any> = ZodTuple<any, any>
[src]
optional
Returns extends ZodTypeAny = ZodTypeAny
[src]

Properties

args: Args[src]
returns: Returns[src]
typeName: ZodFirstPartyTypeKind.ZodFunction[src]