effect-io-ai

Package: effect
Module: RedBlackTree

RedBlackTree.findFirst

Finds the first value in the tree associated with the specified key, if it exists.

Signature

declare const findFirst: { <K>(key: K): <V>(self: RedBlackTree<K, V>) => Option<V>; <K, V>(self: RedBlackTree<K, V>, key: K): Option<V>; }

Source

Since v2.0.0