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

x/pup/deps.ts>z.custom

Universal process manager built in Deno
Go to Latest
variable z.custom
import { z } from "https://deno.land/x/pup@1.0.0-alpha-20/deps.ts";
const { custom } = z;

type

<T>(
check?: (data: unknown) => any,
params?: string | CustomParams | ((input: any) => CustomParams),
fatal?: boolean,
) => ZodType<T>