Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/base/mod.ts>Arr.update

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function Arr.update
import { Arr } from "https://deno.land/x/rimbu@1.0.0/base/mod.ts";
const { update } = Arr;

Parameters

arr: readonly T[]
index: number
updater: Update<T>

Returns

readonly T[]