Function curryRight

  • Generate right-curried version of a function.

    Parameters

    • x: Function

      a function

    • n: number = x.length

      number of parameters [all]

    Returns Function

    (p)(q)(...) => x(..., q, p)

Generated using TypeDoc