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

Function isTypedArray

OpenReservation/wwwroot/Scripts/angular.js:713–715  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

711 var TYPED_ARRAY_REGEXP = /^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/;
712
713 function isTypedArray(value) {
714 return value && isNumber(value.length) && TYPED_ARRAY_REGEXP.test(toString.call(value));
715 }
716
717 function isArrayBuffer(obj) {
718 return toString.call(obj) === '[object ArrayBuffer]';

Callers 1

copyFunction · 0.85

Calls 1

isNumberFunction · 0.85

Tested by

no test coverage detected