Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/zod/mod.ts>custom

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
variable custom
import { custom } from "https://deno.land/x/zod@v3.17.3/mod.ts";

type

<T>(
check?: (data: unknown) => any,
params?: Parameters<ZodTypeAny["refine"]>[1],
fatal?: boolean,
) => ZodType<T>