MCPcopy Create free account
hub / github.com/deployd/deployd / isTypedArray

Function isTypedArray

test-app/public/chai.js:8757–8761  ·  view source on GitHub ↗
(ar)

Source from the content-addressed store, hash-verified

8755 }
8756
8757 function isTypedArray(ar) {
8758 // Unfortunately there's no way to check if an object is a TypedArray
8759 // We have to check if it's one of these types
8760 return (typeof ar === 'object' && /\w+Array]$/.test(objectToString(ar)));
8761 }
8762
8763 function isArray(ar) {
8764 return Array.isArray(ar) ||

Callers 6

formatValueFunction · 0.85
arrayLikeKeysFunction · 0.85
baseIsEqualDeepFunction · 0.85
baseMergeDeepFunction · 0.85
isEmptyFunction · 0.85
transformFunction · 0.85

Calls 1

objectToStringFunction · 0.70

Tested by

no test coverage detected