Gets the apply() function for the specified function.

This function is valid in v2.21.0 to v2.24.0. This function has been downloaded 10 times.


{Function|string} fn
The function or the function name for which to get the apply() function.
{Object=} opt_owner Optional
If fn is a string then this will be used as the parent object to reference the actual function.
{*=} opt_objThis Optional
If given this will be the value that is always used as the this keyword by fn (the function). If not given, the first argument passed to the returned function will be referenced as the this keyword.


If opt_objThis is not passed, a version of apply() will be returned which will use the first argument as the this keyword and the subsequent argument (which should be an array or an array-like object) as the normal arguments. Otherwise a function which accepts only the array of arguments (not the this keyword definition) will be returned.

Required Function

This function directly requires the following function which is included automatically:

  • callOf()
    Gets the call() function for the specified function.

Requiring Function

This function is directly required by the following function:

  • callOf()
    Gets the call() function for the specified function.