mixin()

Adds a new function to the YourJS object and to YourJSChain's prototype.

This function is valid in v2.0.0 to v2.24.3. This function has been downloaded 60 times.

Parameters

{Function} fn
The function to add to the YourJS object.
{string} name
The name to give to the function under the YourJS object and under the YourJSChain's prototype.

Returns

{boolean}
Boolean value indicating if the function could be added.

Required Function

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

  • chain()
    Creates a chained version of a value.

Requiring Function

This function is directly required by the following function:

  • chain()
    Creates a chained version of a value.