UNPKG

svelte-ast-print

Version:

Serialize Svelte AST nodes into stringified syntax. A.k.a parse in reverse.

12 lines 280 B
/** * @internal * @__NO_SIDE_EFFECTS__ */ export function has_frag_text_or_exp_tag_only(nodes) { for (const ch of nodes) { if (ch.type !== "Text" && ch.type !== "ExpressionTag") return false; } return true; } //# sourceMappingURL=fragment.js.map