Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/core/menu/menu.ts>BiMultiMap.Hashed.NonEmpty

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

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