Function curry

  • Generate curried version of a function.

    Parameters

    • x: Function

      a function

    • n: number = x.length

      number of parameters [all]

    Returns Function

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

Generated using TypeDoc