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

x/rimbu/hashed/map-custom/index.ts>HashMapCollision#modifyAt

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
method HashMapCollision.prototype.modifyAt
Re-export
import { HashMapCollision } from "https://deno.land/x/rimbu@1.0.0/hashed/map-custom/index.ts";

Parameters

atKey: K
options: { ifNew?: OptLazyOr<V, Token>; ifExists?: (currentValue: V, remove: Token) => V | Token; }
optional
atKeyHash: number

Returns

HashMap<K, V> | any