Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/bimultimap/main/index.ts>HashBiMultiMap.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface HashBiMultiMap.NonEmpty
implements [BiMultiMapBase.NonEmpty]<K, V, HashBiMultiMap.Types>, Omit<HashBiMultiMap<K, V>, keyof BiMultiMapBase<any, any, any>>, [Streamable.NonEmpty]<[K, V]>
import { type HashBiMultiMap } from "https://deno.land/x/rimbu@1.2.0/bimultimap/main/index.ts";
const { NonEmpty } = HashBiMultiMap;

A non-empty type-invariant immutable bi-directional MultiMap where keys and values have a many-to-many mapping. Its keys and values are hashed. See the BiMultiMap documentation and the HashBiMultiMap API documentation