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

x/rambda/files/index.d.ts>update

Faster and smaller alternative to Ramda
Go to Latest
function update
import { update } from "https://deno.land/x/rambda@v9.1.0/files/index.d.ts";

Parameters

index: number
newValue: T
list: T[]

Parameters

index: number
newValue: T

Returns

(list: T[]) => T[]