Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/multimap/custom/implementation/base.ts>MultiMapNonEmpty#modifyAt

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
method MultiMapNonEmpty.prototype.modifyAt
import { MultiMapNonEmpty } from "https://deno.land/x/rimbu@1.1.0/multimap/custom/implementation/base.ts";

Parameters

atKey: K
options: { ifNew?: OptLazy<StreamSource<V>>; ifExists?: ((currentValues: TpG["keyMapValuesNonEmpty"]) => StreamSource<V>) | StreamSource<V>; }

Returns

TpG["normal"]