Outlook_Addin_LLM/node_modules/@fluentui/utilities/lib-commonjs/ie11Detector.js

14 lines
514 B
JavaScript
Raw Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isIE11 = void 0;
var getWindow_1 = require("./dom/getWindow");
var isIE11 = function () {
var _a;
var win = (0, getWindow_1.getWindow)();
if (!((_a = win === null || win === void 0 ? void 0 : win.navigator) === null || _a === void 0 ? void 0 : _a.userAgent)) {
return false;
}
return win.navigator.userAgent.indexOf('rv:11.0') > -1;
};
exports.isIE11 = isIE11;
//# sourceMappingURL=ie11Detector.js.map