util/apply-mixin

Augment an object (specifically a prototype) with a mixin method (the provided object is mutated by reference)

Source:
Parameters:
Name Type Description
obj Object

The object (usually a prototype) to augment

key String

The property to which the mixin method should be assigned

mixin function

The mixin method

Returns:
Type:
void