• lookupLT looks up the largest value in the Map for which its corresponding key is strictly smaller than the given key returning Just if such a value exists or Nothing otherwise.

    Complexity: O(log n)

    Type Parameters

    • K

    • V

    Parameters

    • ordDict: Ord<K>
    • key: K
    • map: Readonly<Map<K, V>>

    Returns Maybe<V>

Generated using TypeDoc