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

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

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

type

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