MCPcopy
hub / github.com/didi/DoKit / isArray

Function isArray

miniapp/src/utils/util.js:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45const isArray = list => {
46 return Object.prototype.toString.call(list).slice(8, -1) == 'Array'
47}
48
49const deepClone = obj => {
50 if(typeof obj !="object"){

Callers 15

normalizeStyleFunction · 0.85
normalizeClassFunction · 0.85
looseEqualFunction · 0.85
toDisplayStringFunction · 0.85
replacerFunction · 0.85
trigger$1Function · 0.85
triggerEffectsFunction · 0.85
createGetterFunction · 0.85
createSetterFunction · 0.85
ownKeysFunction · 0.85
queueCbFunction · 0.85
normalizeEmitsOptionsFunction · 0.85

Calls 1

callMethod · 0.65

Tested by

no test coverage detected