Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

replaceAt

function replaceAt<T>(
array: T[],
index: number,
value: T,
): T[];
§
replaceAt<T>(array: T[], index: number, value: T): T[]
[src]

§Type Parameters

§Parameters

§
array: T[]
[src]
§
index: number
[src]
§
value: T
[src]

§Return Type