alias()

Binds a context to a given function within that context.

This function is valid in v2.8.0 to v2.17.1. This function has been downloaded 20 times.

Parameters

{Object} context
Context object containing the function to be called.
{string} name
Name of the function to call within the context.

Returns

{Function}
Function that when called will execute the function with the given name under the given context.