alias()

Creates a function wrapper that calls the function with the given name in the given context.

This function is valid in v2.0.0 to v2.7.0. This function has been downloaded 2 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.