MCPcopy
hub / github.com/tdewolff/minify / isArray

Function isArray

_benchmarks/sample_moment.js:25–30  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

23 }
24
25 function isArray(input) {
26 return (
27 input instanceof Array ||
28 Object.prototype.toString.call(input) === '[object Array]'
29 );
30 }
31
32 function isObject(input) {
33 // IE8 will treat undefined and null as object if it wasn't for

Callers 15

localeMonthsFunction · 0.70
localeMonthsShortFunction · 0.70
localeWeekdaysFunction · 0.70
getLocaleFunction · 0.70
prepareConfigFunction · 0.70
configFromInputFunction · 0.70
createLocalOrUTCFunction · 0.70
pickByFunction · 0.70
isNumberOrStringArrayFunction · 0.70
arrayLikeKeysFunction · 0.70
baseGetAllKeysFunction · 0.70
baseIsEqualDeepFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…