MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / cloneDeep

Function cloneDeep

MathBox/mathbox-bundle.js:36932–36934  ·  view source on GitHub ↗

* Creates a deep clone of `value`. If a callback is provided it will be * executed to produce the cloned values. If the callback returns `undefined` * cloning will be handled by the method instead. The callback is bound to * `thisArg` and invoked with one argument; (value). *

(value, callback, thisArg)

Source from the content-addressed store, hash-verified

36930 * // => false
36931 */
36932 function cloneDeep(value, callback, thisArg) {
36933 return baseClone(value, true, typeof callback == 'function' && baseCreateCallback(callback, thisArg, 1));
36934 }
36935
36936 /**
36937 * Creates an object that inherits from the given `prototype` object. If a

Callers

nothing calls this directly

Calls 2

baseCloneFunction · 0.85
baseCreateCallbackFunction · 0.85

Tested by

no test coverage detected