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

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

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

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