• Creates a function that invokes func with the this binding of the created function and arguments from start and beyond provided as an array.

    Note: This method is based on the rest parameter.

    Parameters

    • func: ((...args) => any)

      The function to apply a rest parameter to.

        • (...args): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    • Optional start: number

      The start position of the rest parameter.

    Returns ((...args) => any)

    Returns the new function.

      • (...args): any
      • Creates a function that invokes func with the this binding of the created function and arguments from start and beyond provided as an array.

        Note: This method is based on the rest parameter.

        Parameters

        • Rest ...args: any[]

        Returns any

        Returns the new function.

Generated using TypeDoc