MCPcopy
hub / github.com/vercel/hyper / isArray

Function isArray

bin/yarn-standalone.js:36581–36586  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

36579// because it is fragile and can be easily faked with `Object.create()`.
36580
36581function isArray(arg) {
36582 if (Array.isArray) {
36583 return Array.isArray(arg);
36584 }
36585 return objectToString(arg) === '[object Array]';
36586}
36587exports.isArray = isArray;
36588
36589function 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