• Creates a function that invokes func with the this binding of the created function and an array of arguments much like Function#apply.

    Note: This method is based on the spread operator.

    Type Parameters

    • TResult

    Parameters

    • func: (...args: any[]) => TResult

      The function to spread arguments over.

    • Optionalstart: number

    Returns (...args: any[]) => TResult

    Returns the new function.