MCPcopy
hub / github.com/Kong/insomnia / isArray

Function isArray

packages/insomnia/bin/yarn-standalone.js:35655–35660  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

35653// because it is fragile and can be easily faked with `Object.create()`.
35654
35655function isArray(arg) {
35656 if (Array.isArray) {
35657 return Array.isArray(arg);
35658 }
35659 return objectToString(arg) === '[object Array]';
35660}
35661exports.isArray = isArray;
35662
35663function isBoolean(arg) {

Callers 15

lodashFunction · 0.85
lazyValueFunction · 0.85
arrayLikeKeysFunction · 0.85
baseCloneFunction · 0.85
baseGetAllKeysFunction · 0.85
baseIsEqualDeepFunction · 0.85
baseIterateeFunction · 0.85
baseMergeDeepFunction · 0.85
baseToStringFunction · 0.85
castPathFunction · 0.85
createAggregatorFunction · 0.85
createFlowFunction · 0.85

Calls 1

objectToStringFunction · 0.85

Tested by

no test coverage detected