import { z } from "https://deno.land/x/pup@1.0.0-beta.20/deps.ts";
const { ZodFunction } = z;
Methods
Static Methods
create(): ZodFunction<ZodTuple<[], ZodUnknown>, ZodUnknown>
create<T extends AnyZodTuple = ZodTuple<[], ZodUnknown>>(args: T): ZodFunction<T, ZodUnknown>
create<T extends AnyZodTuple, U extends ZodTypeAny>(args: T, returns: U): ZodFunction<T, U>
create<T extends AnyZodTuple = ZodTuple<[], ZodUnknown>, U extends ZodTypeAny = ZodUnknown>(): ZodFunction<T, U>
args: T,
returns: U,
params?: RawCreateParams,