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

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

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface 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 Sorted } from "https://deno.land/x/rimbu@1.0.2/core/menu/bimultimap.ts";
const { NonEmpty } = 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