curry
curry<
A,B,C>(f): (a) => (b) =>C
Defined in: Composition/curry.ts:20
Converts a multi-argument function into a curried function.
The inverse of uncurry.
Type Parameters
Section titled “Type Parameters”A
B
C
Parameters
Section titled “Parameters”(a, b) => C
Returns
Section titled “Returns”(
a): (b) =>C
Parameters
Section titled “Parameters”A
Returns
Section titled “Returns”(
b):C
Parameters
Section titled “Parameters”B
Returns
Section titled “Returns”C