Module: Mixin

Mixin

Source:

Classes

Mixin

Methods

(inner) add(objnon-null, path, value, iopt)

Add/update a path off an object
Parameters:
Name Type Attributes Description
obj Object
path Array.<string, number>
value *
i number <optional>
Source:
Throws:
Error

(private, inner) copyDeep(x) → {*}

Parameters:
Name Type Description
x *
Source:
Returns:
Type
*

(private, inner) remove(obj, path, iopt)

Remove a path from an object
Parameters:
Name Type Attributes Description
obj Object
path Array.<string, number>
i number <optional>
Source:
Throws:
Error