moveItemInArray
function
Moves an item one index in an array to another.
moveItemInArray
voidMoves an item one index in an array to another.
@paramarray
T[]Array in which to move the item.
@paramfromIndex
numberStarting index of the item.
@paramtoIndex
numberIndex to which the item should be moved.
@returns
voidJump to details