flip method

T flip(
  1. B b,
  2. A a
)

Returns a new function with flipped arguments, reversing their order.

Implementation

T flip(B b, A a) => this(a, b);