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

x/rimbu/bimultimap/main/interface/sorted/index.ts>SortedBiMultiMap.NonEmpty

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

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