import { type HashMap } from "https://deno.land/x/rimbu@0.13.5/hashed/map/interface/index.ts";
const { NonEmpty } = HashMap;
A non-empty type-invariant immutable Map of key type K, and value type V. In the Map, each key has exactly one value, and the Map cannot contain duplicate keys.
- The
HashMap
uses the context'shasher
instance to hash keys for performance. - The
HashMap
uses the context'seq
function to determine equivalence between keys.
See the Map documentation and the HashMap API documentation