Get the forest of a branch node.
Underlying tree type.
the branch to query.
The non-empty forest of the given branch..
import * as Tree from 'effect-tree'const branch = Tree.branch(1, [Tree.of(2)])expect(Tree.getForest(branch)).toEqual([Tree.of(2)]) Copy
import * as Tree from 'effect-tree'const branch = Tree.branch(1, [Tree.of(2)])expect(Tree.getForest(branch)).toEqual([Tree.of(2)])
Get the forest of a branch node.