move Method

Move the value at index i to index j.

move(i: number, j: number): void

Parameter Type Description
i number source index
j number destination index.

Returns - void

Defined in

Last Updated: 12 June, 2024