Function curry

  • Curry function with fixed arguments lenth

    Function arity is determined based on function's length property.

    Type Parameters

    • TArgs extends any[]

    • TResult

    Parameters

    • fn: ((...args: TArgs) => TResult)
        • (...args: TArgs): TResult
        • Parameters

          • Rest ...args: TArgs

          Returns TResult

    Returns Curried<TArgs, TResult>

Generated using TypeDoc