decord/source/modules/markup/ChannelUtils.tsx

22 lines
619 B
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 4786
// Function ID: 4787
2026-07-20 16:05:17 +00:00
// Name: isChannelTypeMentionable
2026-08-11 06:20:06 +00:00
// Dependencies: [1395, 2]
2026-07-20 16:05:17 +00:00
// Exports: isChannelTypeMentionable
2026-08-12 06:57:52 +00:00
// Module 4786 (isChannelTypeMentionable)
2026-07-29 08:29:29 +00:00
import createChannelRecord from "createChannelRecord";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c0;
let closure_1;
({ isGuildSelectableChannelType: c0, isGuildVocalChannelType: closure_1 } = createChannelRecord);
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/markup/ChannelUtils.tsx");
2026-07-20 16:05:17 +00:00
export const isChannelTypeMentionable = function isChannelTypeMentionable(type) {
2026-07-29 08:29:29 +00:00
let tmp = callback(type);
2026-07-20 16:05:17 +00:00
if (!tmp) {
2026-07-29 08:29:29 +00:00
tmp = callback2(type);
2026-07-20 16:05:17 +00:00
}
return tmp;
};