effect-io-ai

Package: effect
Module: RedBlackTree

RedBlackTree.getAt

Returns the element at the specified index within the tree or None if the specified index does not exist.

Signature

declare const getAt: { (index: number): <K, V>(self: RedBlackTree<K, V>) => Option<[K, V]>; <K, V>(self: RedBlackTree<K, V>, index: number): Option<[K, V]>; }

Source

Since v2.0.0