UNPKG

@microsoft/signalr-protocol-msgpack

Version:

MsgPack Protocol support for ASP.NET Core SignalR

15 lines 660 B
"use strict"; // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. Object.defineProperty(exports, "__esModule", { value: true }); exports.isArrayBuffer = void 0; // Copied from signalr/Utils.ts /** @private */ function isArrayBuffer(val) { return val && typeof ArrayBuffer !== "undefined" && (val instanceof ArrayBuffer || // Sometimes we get an ArrayBuffer that doesn't satisfy instanceof (val.constructor && val.constructor.name === "ArrayBuffer")); } exports.isArrayBuffer = isArrayBuffer; //# sourceMappingURL=Utils.js.map