@uifabric/utilities
Version:
Fluent UI React utilities for building components.
10 lines • 385 B
JavaScript
import { getWindow } from './dom/getWindow';
export var isIE11 = function () {
var _a, _b;
var win = 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