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

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

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