import { type Function } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { Curry } = Function;
Curry a [[Function]]
Type Parameters
F extends Function
definition: <P extends Gaps<Parameters<F>>, G extends List = GapsOf<P, Parameters<F>>, R extends any = Return<F>>(...p: Gaps<Parameters<F>> | P) => RequiredKeys<G> extends never ? R : Curry<(...p: G) => R>