Module

x/zod/index.ts>custom

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

type

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