Skip to main content
Deno 2 is finally 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-rc.9/deps.ts";
const { custom } = z;

type

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