MCPcopy Index your code
hub / github.com/Effect-TS/effect / renderTree

Function renderTree

packages/printer/test/docTree.test.ts:190–190  ·  view source on GitHub ↗
(tree: DocTree.DocTree<SimpleHtml>)

Source from the content-addressed store, hash-verified

188 }
189
190 const renderTree = (tree: DocTree.DocTree<SimpleHtml>): string => Effect.runSync(renderTreeSafe(tree))
191
192 const render = (stream: DocStream.DocStream<SimpleHtml>): string => renderTree(DocTree.treeForm(stream))
193

Callers 1

renderFunction · 0.85

Calls 1

renderTreeSafeFunction · 0.85

Tested by

no test coverage detected