Module

x/zod/mod.ts>z.custom

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
function z.custom
import { z } from "https://dotland.deno.dev/x/zod@v3.23.7/mod.ts";
const { custom } = z;

Parameters

optional
check: (data: any) => any
optional
params: string | CustomParams | ((input: any) => CustomParams) = [UNSUPPORTED]
optional
fatal: boolean