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