decord/source/modules/channel/ChannelVisibilityUtils.tsx
2026-07-25 08:10:48 +00:00

21 lines
782 B
TypeScript

// Module ID: 10189
// Function ID: 78841
// Name: isChannelCurrentlyVisible
// Dependencies: [5846, 1907, 3948, 2]
// Exports: isChannelCurrentlyVisible
// Module 10189 (isChannelCurrentlyVisible)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import closure_1 from "_isNativeReflectConstruct";
import closure_2 from "_isNativeReflectConstruct";
const result = require("_isNativeReflectConstruct").fileFinishedImporting("modules/channel/ChannelVisibilityUtils.tsx");
export const isChannelCurrentlyVisible = function isChannelCurrentlyVisible(id) {
channelId = channelId.getChannelId(guildId.getGuildId());
let tmp2 = channelId === id;
if (!tmp2) {
tmp2 = currentSidebarChannelId.getCurrentSidebarChannelId(channelId) === id;
}
return tmp2;
};