effect-io-ai

Package: effect
Module: RedBlackTree

RedBlackTree.forEachBetween

Visit each node of the tree in order with key lower than max and greater than or equal to min.

Signature

declare const forEachBetween: { <K, V>(options: { readonly min: K; readonly max: K; readonly body: (key: K, value: V) => void; }): (self: RedBlackTree<K, V>) => void; <K, V>(self: RedBlackTree<K, V>, options: { readonly min: K; readonly max: K; readonly body: (key: K, value: V) => void; }): void; }

Source

Since v2.0.0