Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Parameters

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

Returns

readonly T[]