import { partialObject } from "https://dotland.deno.dev/x/rambda@v9.2.0/rambda.js";
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.
Parameters
partialInput: PartialInput
Returns
(input: Pick<Input, Exclude<keyof Input, keyof PartialInput>>) => Output