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

x/rimbu/graph/custom/valued/implementation/non-empty.ts>ValuedGraphNonEmpty#modifyAt

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

Parameters

node1: N
node2: N
options: { ifNew?: OptLazyOr<V, Token>; ifExists?: (value: V, remove: Token) => V | Token; }

Returns

TpG["nonEmpty"]