aboutsummaryrefslogtreecommitdiff
path: root/src/utils/isWeb.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/isWeb.ts')
-rw-r--r--src/utils/isWeb.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/isWeb.ts b/src/utils/isWeb.ts
new file mode 100644
index 0000000..4082164
--- /dev/null
+++ b/src/utils/isWeb.ts
@@ -0,0 +1 @@
+export const IS_WEB = window.IS_WEB = typeof window.DiscordNative === "undefined";