Function returnsArgs
- returns
Args <Args, Self>(start?, end?): ((this: Self, ...args: Args) => Args) Type Parameters
Parameters
- start: number = 0
The start index of the arguments to return. Default is 0.
Optionalend: numberThe end index of the arguments to return.
Returns ((this: Self, ...args: Args) => Args)
A function that returns its arguments or a subset of them.
- start: number = 0
Creates a function that returns its arguments or a subset of them. If end is specified, it will return arguments up to but not including the end.