Skip to main content
Module

x/zod/index.ts>z.custom

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

Parameters

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