curry
Call Signature
Section titled “Call Signature”curry<
A,B,C>(f): (a) => (b) =>C
Defined in: Composition/curry.ts:24
Converts a multi-argument function into a curried function.
Supports 2, 3, or 4 argument functions.
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
Example
Section titled “Example”uncurry for the inverse operation
Call Signature
Section titled “Call Signature”curry<
A,B,C,D>(f): (a) => (b) => (c) =>D
Defined in: Composition/curry.ts:25
Converts a multi-argument function into a curried function.
Supports 2, 3, or 4 argument functions.
The inverse of uncurry.
Type Parameters
Section titled “Type Parameters”A
B
C
D
Parameters
Section titled “Parameters”(a, b, c) => D
Returns
Section titled “Returns”(a) => (b) => (c) => D
Example
Section titled “Example”uncurry for the inverse operation
Call Signature
Section titled “Call Signature”curry<
A,B,C,D,E>(f): (a) => (b) => (c) => (d) =>E
Defined in: Composition/curry.ts:26
Converts a multi-argument function into a curried function.
Supports 2, 3, or 4 argument functions.
The inverse of uncurry.
Type Parameters
Section titled “Type Parameters”A
B
C
D
E
Parameters
Section titled “Parameters”(a, b, c, d) => E
Returns
Section titled “Returns”(a) => (b) => (c) => (d) => E
Example
Section titled “Example”uncurry for the inverse operation