MCPcopy Index your code
hub / github.com/dataease/SQLBot / _deepClone

Function _deepClone

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

Source from the content-addressed store, hash-verified

38429 for (var u in s) module_helpers_hasOwnProperty(s, u) && a.push(u)
38430 return a
38431 }
38432 function _deepClone(s) {
38433 switch (typeof s) {
38434 case 'object':
38435 return JSON.parse(JSON.stringify(s))
38436 case 'undefined':
38437 return null
38438 default:
38439 return s
38440 }
38441 }
38442 function helpers_isInteger(s) {
38443 for (var o, i = 0, a = s.length; i < a; ) {

Callers 6

applyOperationFunction · 0.85
applyPatchFunction · 0.85
validateFunction · 0.85
observeFunction · 0.85
_generateFunction · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected