• 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) => TResult)

      The function to spread arguments over.

        • (...args): TResult
        • Parameters

          • Rest ...args: any[]

          Returns TResult

    • Optional start: number

    Returns ((...args) => TResult)

    Returns the new function.

      • (...args): TResult
      • 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.

        Parameters

        • Rest ...args: any[]

        Returns TResult

        Returns the new function.

Generated using TypeDoc