Return the smallest leaf in the tree according to the given order.
import {from, of, minimumLeaf} from 'effect-tree'import {Number} from 'effect'const tree = from(100, of(1_000), from(1, of(10)))expect(minimumLeaf(Number.Order)(tree)).toBe(10) Copy
import {from, of, minimumLeaf} from 'effect-tree'import {Number} from 'effect'const tree = from(100, of(1_000), from(1, of(10)))expect(minimumLeaf(Number.Order)(tree)).toBe(10)
Return the smallest leaf in the tree according to the given order.