MCPcopy Create free account
hub / github.com/dataease/SQLBot / clone

Function clone

frontend/public/swagger-ui-bundle.js:67780–67791  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

67778 }
67779 return s
67780 }
67781 function clone(s) {
67782 const o = HC(null)
67783 for (const [i, a] of $C(s)) {
67784 Bj(s, i) &&
67785 (Array.isArray(a)
67786 ? (o[i] = purify_es_cleanArray(a))
67787 : a && 'object' == typeof a && a.constructor === Object
67788 ? (o[i] = clone(a))
67789 : (o[i] = a))
67790 }
67791 return o
67792 }
67793 function lookupGetter(s, o) {
67794 for (; null !== s; ) {

Callers 2

$tFunction · 0.85

Calls 4

$CFunction · 0.85
purify_es_cleanArrayFunction · 0.85
HCFunction · 0.50
isArrayMethod · 0.45

Tested by

no test coverage detected