MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / createCommentVNode

Function createCommentVNode

web/main.js:6237–6239  ·  view source on GitHub ↗
(text = "", asBlock = false)

Source from the content-addressed store, hash-verified

6235 return createVNode(Text, null, text, flag);
6236}
6237function createCommentVNode(text = "", asBlock = false) {
6238 return asBlock ? (openBlock(), createBlock(Comment, null, text)) : createVNode(Comment, null, text);
6239}
6240function normalizeVNode(child) {
6241 if (child == null || typeof child === "boolean") {
6242 return createVNode(Comment);

Callers 1

setupFunction · 0.85

Calls 2

openBlockFunction · 0.85
createBlockFunction · 0.85

Tested by

no test coverage detected