Function curry2

  • Curry a function with two parameters

    Type Parameters

    • F extends ((a: any, b: any) => any)

    • R = ReturnType<F>

    Parameters

    • func: F

      Function to be curried

    Returns ((...b: SecondParam2<Parameters<F>>) => ((...a: FirstParam2<Parameters<F>>) => R))

Generated using TypeDoc