import { MultiMapBase } from "https://deno.land/x/rimbu@0.14.1/multimap/custom/interface/base.ts";
Interfaces
The multimap's Context instance that serves as a factory for all related immutable instances and builders. | |
Utility interface that provides higher-kinded types for this collection. |
import { type MultiMapBase } from "https://deno.land/x/rimbu@0.14.1/multimap/custom/interface/base.ts";
Properties
readonly
context: WithKeyValue<Tp, K, V>["context"]Returns the context
associated to this collection instance.
Methods
addEntries(entries: StreamSource<readonly [K, V]>): WithKeyValue<Tp, K, V>["normal"]
setValues(key: K, values: StreamSource<V>): WithKeyValue<Tp, K, V>["normal"]
modifyAt(atKey: K, options: { ifNew?: OptLazy<StreamSource<V>>; ifExists?: (currentValues: WithKeyValue<Tp, K, V>["keyMapValuesNonEmpty"]) => StreamSource<V>; }): WithKeyValue<Tp, K, V>["normal"]
Returns the collection with the given atKey
key modified according to given options
.
toBuilder(): WithKeyValue<Tp, K, V>["builder"]
Returns a builder object containing the entries of this collection.