We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b618670 commit 2f6f903Copy full SHA for 2f6f903
src/utils/checkGlobalMode.mts
@@ -1,3 +1,5 @@
1
+// https://developer.Mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
2
+
3
export default function isGlobalMode() {
4
return typeof globalThis.setup == 'function' ||
5
typeof globalThis.draw == 'function'
0 commit comments