curry property

Output Function(Input2) Function(Input1) curry

Convert this function from accepting two parameters to a function that returns another function both accepting one parameter.

Inverse of uncurry.

Implementation

Output Function(Input2) Function(Input1) get curry =>
    (input1) => (input2) => this(input1, input2);