UNPKG

@fluentui/react-northstar

Version:
15 lines (12 loc) 434 B
"use strict"; 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