MCPcopy
hub / github.com/josdejong/mathjs / clone

Function clone

src/utils/array.js:956–958  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

954 * @returns {Array} cloned array
955 */
956export function clone (array) {
957 return Object.assign([], array)
958}

Callers 15

object.test.jsFile · 0.90
_denseLUPFunction · 0.90
pinv.jsFile · 0.90
_rrefFunction · 0.90
resize.jsFile · 0.90
squeeze.jsFile · 0.90
det.jsFile · 0.90
_detFunction · 0.90
concat.jsFile · 0.90
_setObjectPropertyFunction · 0.90
column.jsFile · 0.90
_denseTransposeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…