import { SortedValue } from "https://deno.land/x/rimbu@1.0.2/core/menu/multimap/sorted-key.ts";
Interfaces
A mutable | |
A context instance for an | |
A non-empty type-invariant immutable MultiMap of key type K, and value type V. In the MultiMap, each key has at least one value. See the MultiMap documentation and the SortedMultiMapSortedValue API documentation | |
Utility interface that provides higher-kinded types for this collection. |
import { type SortedValue } from "https://deno.land/x/rimbu@1.0.2/core/menu/multimap/sorted-key.ts";
A type-invariant immutable MultiMap of key type K, and value type V. In the MultiMap, each key has at least one value. See the MultiMap documentation and the SortedMultiMapSortedValue API documentation
Examples
Example 1
Example 1
const m1 = SortedMultiMapSortedValue.empty<number, string>()
const m2 = SortedMultiMapSortedValue.of([1, 'a'], [1, 'b'], [2, 'a'])
import { SortedValue } from "https://deno.land/x/rimbu@1.0.2/core/menu/multimap/sorted-key.ts";