decord/source/modules/markup/ChannelUtils.tsx

21 lines
627 B
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 4847
// Function ID: 4848
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-25 06:04:03 +00:00
// Module 4847 (isChannelTypeMentionable)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import createChannelRecord from "createChannelRecord" /* 1395 */;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
({ isGuildSelectableChannelType: c0, isGuildVocalChannelType: closure_1 } = createChannelRecord);
2026-08-24 06:08:38 +00:00
const result = 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;
};