set Method

Sets value at specific position. Overrides any existing value.

set(index: number, value: T): void

Parameter Type Description
index number  
value T  

Returns - void

Defined in

Last Updated: 12 June, 2024