- apply<T, A, R>(target, thisArgument, argumentsList): R
-
Type Parameters
-
T
-
A extends readonly any[]
-
R
Parameters
-
target: ((this, ...args) => R)
-
- (this, ...args): R
-
Returns R
-
thisArgument: T
-
argumentsList: Readonly<A>
Returns R
- apply(target, thisArgument, argumentsList): any
-
Parameters
-
-
thisArgument: any
-
argumentsList: ArrayLike<any>
Returns any
Calls the function with the specified object as the this value and the elements of specified array as the arguments.