@uifabric/utilities
Version:
Fluent UI React utilities for building components.
13 lines • 563 B
JavaScript
define(["require", "exports", "./dom/getWindow"], function (require, exports, getWindow_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isIE11 = function () {
var _a, _b;
var win = getWindow_1.getWindow();
if (!((_b = (_a = win) === null || _a === void 0 ? void 0 : _a.navigator) === null || _b === void 0 ? void 0 : _b.userAgent)) {
return false;
}
return win.navigator.userAgent.indexOf('rv:11.0') > -1;
};
});
//# sourceMappingURL=ie11Detector.js.map