Get the value of a node.
Underlying tree type.
the tree to query.
Value of the tree root node.
import * as Tree from 'effect-tree'const tree = Tree.of(1)expect(Tree.getValue(tree)).toBe(1) Copy
import * as Tree from 'effect-tree'const tree = Tree.of(1)expect(Tree.getValue(tree)).toBe(1)
Get the value of a node.