Skip to content

printTree

Print an AlloyNode tree to a string.

import { printTree } from "@alloy-js/core";
function printTree(node: AlloyNode, opts?: PrintTreeOptions & RenderTreeOptions): string;
nodeAlloyNode
optsoptional PrintTreeOptions & RenderTreeOptions

string