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

20 lines
594 B
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 5424
// Function ID: 5425
// Name: markup/ChannelUtils
2026-10-12 16:32:48 +00:00
// Dependencies: [2069, 2]
// Exports: isChannelTypeMentionable
2026-10-12 16:32:48 +00:00
// Module 5424 (markup/ChannelUtils)
import ChannelRecord from "ChannelRecord" /* 2069 */;
import size from "module_2" /* 2 */;
2026-10-01 14:13:23 +00:00
let _window;
let map;
({ isGuildSelectableChannelType: _window, isGuildVocalChannelType: map } = ChannelRecord);
const result = size.fileFinishedImporting("modules/markup/ChannelUtils.tsx");
export const isChannelTypeMentionable = function isChannelTypeMentionable(type) {
2026-10-01 14:13:23 +00:00
const tmp = React(type) || map(type);
return tmp;
};