MCPcopy
hub / github.com/socketio/socket.io / isView$1

Function isView$1

packages/socket.io/client-dist/socket.io.js:205–207  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

203 var withNativeArrayBuffer$2 = typeof ArrayBuffer === "function";
204 // ArrayBuffer.isView method is not defined in IE10
205 var isView$1 = function isView(obj) {
206 return typeof ArrayBuffer.isView === "function" ? ArrayBuffer.isView(obj) : obj && obj.buffer instanceof ArrayBuffer;
207 };
208 var encodePacket = function encodePacket(_ref, supportsBinary, callback) {
209 var type = _ref.type,
210 data = _ref.data;

Callers 2

encodePacketFunction · 0.85
encodePacketToBinaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected