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

20 lines
594 B
TypeScript
Raw Normal View History

2026-10-07 22:43:51 +00:00
// Module ID: 5798
// Function ID: 5799
// Name: markup/ChannelUtils
2026-10-02 13:37:24 +00:00
// Dependencies: [2055, 2]
// Exports: isChannelTypeMentionable
2026-10-07 22:43:51 +00:00
// Module 5798 (markup/ChannelUtils)
2026-10-02 13:37:24 +00:00
import ChannelRecord from "ChannelRecord" /* 2055 */;
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;
};