Outlook_Addin_LLM/node_modules/@fluentui/react-utilities/lib-commonjs/ssr/canUseDOM.js

16 lines
381 B
JavaScript
Raw Permalink Normal View History

/**
* Verifies if an application can use DOM.
*/ "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "canUseDOM", {
enumerable: true,
get: function() {
return canUseDOM;
}
});
function canUseDOM() {
return typeof window !== 'undefined' && !!(window.document && window.document.createElement);
}