Files
discord-decomp/utils/GlobalUtils.tsx
T
2026-11-01 12:12:55 +02:00

24 lines
555 B
TypeScript

// Metro module 1351 (f1352).
let c1123_0 = window.GLOBAL_ENV.PROJECT_ENV === "development";
export function isDiscordFrontendDevelopment() {
return false;
}
export function isDiscordBackendDevelopment() {
return c1123_0;
}
export function assertNever(a0) {
throw new Error(`Unhandled value: ${a0}`);
}
export function isNotNullish(a0) {
return a0 != null;
}
export function isIn(a0, a1) {
return a1.includes(a0);
}
export function isInSet(a0, a1) {
return a1.has(a0);
}
export function isObjectEntryNotNullish(a0) {
return a0[1] != null;
}