• split splits the Map into the values whose associated key is strictly smaller than the provided key, the provided key's value, and the values whose associated key are strictly larger than the provided key.

    Complexity: O((log n)^2)

    Type Parameters

    • K

    • V

    Parameters

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

    Returns [Map<K, V>, Maybe<V>, Map<K, V>]

Generated using TypeDoc