decord/source/modules/guild_identity/GuildIdentitySettingsUtils.tsx

29 lines
757 B
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 14073
// Function ID: 14074
2026-07-20 16:05:17 +00:00
// Name: canResetThemeColors
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
// Exports: canResetThemeColors
2026-08-15 05:55:55 +00:00
// Module 14073 (canResetThemeColors)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/guild_identity/GuildIdentitySettingsUtils.tsx");
2026-07-20 16:05:17 +00:00
export const canResetThemeColors = function canResetThemeColors(pendingThemeColors, themeColors) {
if (undefined === pendingThemeColors) {
let tmp3 = null != themeColors;
} else {
let first;
2026-07-29 08:29:29 +00:00
if (pendingThemeColors != null) {
2026-07-20 16:05:17 +00:00
first = pendingThemeColors[0];
}
tmp3 = null != first;
if (tmp3) {
let tmp4;
2026-07-29 08:29:29 +00:00
if (pendingThemeColors != null) {
2026-07-20 16:05:17 +00:00
tmp4 = pendingThemeColors[1];
}
tmp3 = null != tmp4;
}
}
return tmp3;
};