Skip to main content
Module

x/rimbu/mod.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.14.0/mod.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