Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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