Kind: Function
Source: atloria-monorepo/packages/editor/src/utils/fp.ts
Takes a 2 argument function and partially applies the first argument.
Signature
tsfunction curry2to1(proc: (arg1: T, arg2: K) => R, arg1: T): (arg2: K) => R
Parameters
| Name | Type |
|---|---|
proc | (arg1: T, arg2: K) => R |
arg1 | T |
Returns: (arg2: K) => R
Was this page helpful?