UNPKG

385 BJavaScriptView Raw
1import { getWindow } from './dom/getWindow';
2export var isIE11 = function () {
3 var _a, _b;
4 var win = getWindow();
5 if (!((_b = (_a = win) === null || _a === void 0 ? void 0 : _a.navigator) === null || _b === void 0 ? void 0 : _b.userAgent)) {
6 return false;
7 }
8 return win.navigator.userAgent.indexOf('rv:11.0') > -1;
9};
10//# sourceMappingURL=ie11Detector.js.map
\No newline at end of file