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

x/rimbu/multimap/main/interface/generic/generic.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@1.0.3/multimap/main/interface/generic/generic.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