Get the value of the tree node under focus.
Underlying tree type.
Zipper to be queried.
Value of the focus node.
import {Zipper, from, of} from 'effect-tree'import {pipe} from 'effect'const tree = from(1, of(2))const zipper = pipe( tree, Zipper.fromTree, Zipper.head,)expect(Zipper.getValue(zipper)).toBe(2) Copy
import {Zipper, from, of} from 'effect-tree'import {pipe} from 'effect'const tree = from(1, of(2))const zipper = pipe( tree, Zipper.fromTree, Zipper.head,)expect(Zipper.getValue(zipper)).toBe(2)
Get the value of the tree node under focus.