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

Function isView

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

Source from the content-addressed store, hash-verified

3054
3055 var withNativeArrayBuffer = typeof ArrayBuffer === "function";
3056 var isView = function isView(obj) {
3057 return typeof ArrayBuffer.isView === "function" ? ArrayBuffer.isView(obj) : obj.buffer instanceof ArrayBuffer;
3058 };
3059 var toString = Object.prototype.toString;
3060 var withNativeBlob = typeof Blob === "function" || typeof Blob !== "undefined" && toString.call(Blob) === "[object BlobConstructor]";
3061 var withNativeFile = typeof File === "function" || typeof File !== "undefined" && toString.call(File) === "[object FileConstructor]";

Callers 1

isBinaryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected