MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / cloneDeep

Function cloneDeep

lib/web/jshint.js:9854–9857  ·  view source on GitHub ↗

* Creates a deep clone of `value`. If `customizer` is provided it is invoked * to produce the cloned values. If `customizer` returns `undefined` cloning * is handled by the method instead. The `customizer` is bound to `thisArg` * and invoked with two argument; (value [, index|key, obj

(value, customizer, thisArg)

Source from the content-addressed store, hash-verified

9852 * // => 20
9853 */
9854 function cloneDeep(value, customizer, thisArg) {
9855 customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);
9856 return baseClone(value, true, customizer);
9857 }
9858
9859 /**
9860 * Checks if `value` is classified as an `arguments` object.

Callers

nothing calls this directly

Calls 2

bindCallbackFunction · 0.85
baseCloneFunction · 0.85

Tested by

no test coverage detected