• lookup looks up the value corresponding to the given key returning Just the corresponding value or Nothing if it does not exist.

    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