flip
flip<
A,B,C>(f): (b) => (a) =>C
Defined in: Composition/flip.ts:20
Flips the order of arguments for a curried binary function. Converts a data-last function to data-first.
Type Parameters
Section titled “Type Parameters”A
B
C
Parameters
Section titled “Parameters”(a) => (b) => C
Returns
Section titled “Returns”(b) => (a) => C
Example
Section titled “Example”uncurry for converting curried functions to multi-argument functions