import { z } from "https://dotland.deno.dev/x/zod@v3.23.0-beta.0/index.ts";
const { ZodFunction } = z;
Type Parameters
F extends InnerTypeOfFunction<Args, Returns>
Parameters
func: F
Returns
ReturnType<F> extends Returns["_output"] ? (...args: Args["_input"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>