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

x/frugal/dep/zod.ts>z.custom

A frugal web framework
Go to Latest
variable z.custom
import { z } from "https://deno.land/x/frugal@0.3.0/dep/zod.ts";
const { custom } = z;

type

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