decord/source/modules/guild_identity/GuildIdentitySettingsUtils.tsx

31 lines
778 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 14141
// Function ID: 14142
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-24 06:08:38 +00:00
// Module 14141 (canResetThemeColors)
import set from "set" /* 2 */;
const result = 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;
};