Skip to main content
Module

x/rimbu/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/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