if (root.right !== null) {
            assert(root.right instanceof Node);
            yield* leftOpenRangeTraversal(compare, root.right, right);
        }