Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method z.ZodFunction.prototype.implement
import { z } from "https://deno.land/x/frugal@0.3.0/dep/zod.ts";
const { ZodFunction } = z;

Type Parameters

F extends InnerTypeOfFunction<Args, Returns>

Returns

ReturnType<F> extends Returns["_output"] ? (...args: Args["_input"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>