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

x/rimbu/multimap/mod.ts>MultiMap.NonEmpty

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

A non-empty type-invariant immutable MultiMap of key type K, and value type V. In the Map, each key has at least one value. See the MultiMap documentation and the MultiMap API documentation