Module

x/rambda/immutable.d.ts>partialObject

Faster and smaller alternative to Ramda
Latest
function partialObject
import { partialObject } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

R.partialObject is a curry helper designed specifically for functions accepting object as a single argument.

Initially the function knows only a part from the whole input object and then R.partialObject helps in preparing the function for the second part, when it receives the rest of the input.

Type Parameters

Input
PartialInput
Output

Parameters

fn: (input: Input) => Output
partialInput: PartialInput

Returns

(input: Pick<Input, Exclude<keyof Input, keyof PartialInput>>) => Output