Method “move”

function move(from_index, to_index)

Moves a node within the list

The other nodes in the list will be shifted so that the node will be at the given to index after the move.

Parameters

NameTypeDescription
from_indexintegerThe index of the node to move
to_indexintegerTarget index of the node