Skip to main content
Module

x/rimbu/base/index.ts>Arr._modNew

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

Parameters

arr: readonly T[]
index: number
f: (value: T) => T

Returns

readonly T[]