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

20 lines
609 B
TypeScript

// Module ID: 5178
// Function ID: 5179
// Name: markup/ChannelUtils
// Dependencies: [1962, 2]
// Exports: isChannelTypeMentionable
// Module 5178 (markup/ChannelUtils)
import ChannelRecord from "ChannelRecord" /* 1962 */;
import size from "module_2" /* 2 */;
({ isGuildSelectableChannelType: closure_0, isGuildVocalChannelType: closure_1 } = ChannelRecord);
const result = size.fileFinishedImporting("modules/markup/ChannelUtils.tsx");
export const isChannelTypeMentionable = function isChannelTypeMentionable(type) {
let tmp = React(type);
if (!tmp) {
tmp = framebus(type);
}
return tmp;
};