open fun flipped(): ((A2, A1) -> R)!
Returns a function which arguments are flipped. Especially useful if we have an existing API which accepts a Function2
that differs only with the order of arguments with our implementation (and we cannot change it).
Return
((A2, A1) -> R)!: a flipped function equivalent to this.