@fluentui/react-northstar
Version:
A themable React component library.
15 lines (12 loc) • 434 B
JavaScript
exports.__esModule = true;
exports.isBrowser = void 0;
/* eslint-disable no-undef */
var hasDocument = typeof document === 'object' && document !== null;
var hasWindow = typeof window === 'object' && window !== null && window.self === window;
/* eslint-enable no-undef */
var isBrowser = function isBrowser() {
return hasDocument && hasWindow;
};
exports.isBrowser = isBrowser;
//# sourceMappingURL=isBrowser.js.map
;