decord/beta/source/modules/markup/MarkupRulesUtils.tsx
2026-10-07 22:43:51 +00:00

24 lines
758 B
TypeScript

// Module ID: 7768
// Function ID: 7769
// Name: MarkupRulesUtils
// Dependencies: [2]
// Exports: isStaticRouteIconType, smartOutput
// Module 7768 (MarkupRulesUtils)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/markup/MarkupRulesUtils.tsx");
export const smartOutput = function smartOutput(node, output, state) {
if (typeof node.content !== "string") {
let content;
if (undefined !== node.content) {
content = output(node.content, state);
}
return content;
}
content = node.content;
};
export function isStaticRouteIconType(channelId) {
return "home" === channelId || "browse" === channelId || "customize" === channelId || "guide" === channelId || "linked-roles" === channelId;
}