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

Function isView$1

client-dist/socket.io.js:291–293  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

289 var withNativeArrayBuffer$2 = typeof ArrayBuffer === "function";
290 // ArrayBuffer.isView method is not defined in IE10
291 var isView$1 = function isView(obj) {
292 return typeof ArrayBuffer.isView === "function" ? ArrayBuffer.isView(obj) : obj && obj.buffer instanceof ArrayBuffer;
293 };
294 var encodePacket = function encodePacket(_ref, supportsBinary, callback) {
295 var type = _ref.type,
296 data = _ref.data;

Callers 2

encodePacketFunction · 0.85
encodePacketToBinaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected