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

Function _objectKeys

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

Source from the content-addressed store, hash-verified

38419 function module_helpers_hasOwnProperty(s, o) {
38420 return Mo.call(s, o)
38421 }
38422 function _objectKeys(s) {
38423 if (Array.isArray(s)) {
38424 for (var o = new Array(s.length), i = 0; i < o.length; i++) o[i] = '' + i
38425 return o
38426 }
38427 if (Object.keys) return Object.keys(s)
38428 var a = []
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) {

Callers 2

hasUndefinedFunction · 0.85
_generateFunction · 0.85

Calls 4

isArrayMethod · 0.45
keysMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected