decord/alpha/source/modules/markup/ChannelUtils.tsx

21 lines
609 B
TypeScript
Raw Normal View History

// Module ID: 5511
// Function ID: 5512
// Name: markup/ChannelUtils
// Dependencies: [2049, 2]
2026-07-20 16:05:17 +00:00
// Exports: isChannelTypeMentionable
// Module 5511 (markup/ChannelUtils)
import ChannelRecord from "ChannelRecord" /* 2049 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
({ isGuildSelectableChannelType: closure_0, isGuildVocalChannelType: closure_1 } = ChannelRecord);
const result = size.fileFinishedImporting("modules/markup/ChannelUtils.tsx");
2026-07-20 16:05:17 +00:00
export const isChannelTypeMentionable = function isChannelTypeMentionable(type) {
let tmp = React(type);
2026-07-20 16:05:17 +00:00
if (!tmp) {
tmp = framebus(type);
2026-07-20 16:05:17 +00:00
}
return tmp;
};