Compute the maximum child count of any node in the tree.
import {from, of, maximumNodeDegree} from 'effect-tree'const tree = from( 1, of(2), from(3, of(4), of(5), of(6), of(7), of(8)), from(7, of(8)),)expect(maximumNodeDegree(tree)).toBe(5) Copy
import {from, of, maximumNodeDegree} from 'effect-tree'const tree = from( 1, of(2), from(3, of(4), of(5), of(6), of(7), of(8)), from(7, of(8)),)expect(maximumNodeDegree(tree)).toBe(5)
Compute the maximum child count of any node in the tree.