Skip to main content
variable partial
import { partial } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Creates a function that invokes fn with partials prepended to the arguments it receives.

Use the spread operator (...) to prepend partials to the list of arguments of fn.

type

(fn: Function, ...partials: any[]) => unknown