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

x/rimbu/core/main/index.ts>VariantMultiMap.NonEmpty

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

A non-empty type-variant 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 VariantMultiMap API documentation