MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / isTypedArray

Function isTypedArray

web/static/bower_components/angular/angular.js:743–745  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

741
742var TYPED_ARRAY_REGEXP = /^\[object (Uint8(Clamped)?)|(Uint16)|(Uint32)|(Int8)|(Int16)|(Int32)|(Float(32)|(64))Array\]$/;
743function isTypedArray(value) {
744 return TYPED_ARRAY_REGEXP.test(toString.call(value));
745}
746
747
748var trim = function(value) {

Callers 1

copyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected