• insert adds a key value pair in the map. If the key already exists, the value is replaced with the new value.

    Complexity: O(log n)

    Type Parameters

    • K

    • V

    Parameters

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

    Returns void

Generated using TypeDoc