• Returns a curried function that accepts arguments in reverse order.

    Type Parameters

    • T

    • U

    • R

    Parameters

    Returns ((y) => ((x) => R))

      • (y): ((x) => R)
      • Parameters

        • y: U

        Returns ((x) => R)

          • (x): R
          • Parameters

            • x: T

            Returns R

    Example

    add(3, 9)
    // => 12

    flip(add)(9)(3)
    // => 12

Generated using TypeDoc