FUNCTION

list.removeAt

function removeAt(index: integer): T

Deprecated (for removal): Use 'remove_at' instead

Remove and return the element at the specified index. The indices of elements occurring after the specified index decrease by 1, and the size of this list decreases by 1.

Parameters

  • index — the index of the element to remove

Returns

the element that was at the specified index

Throws

  • exception — if the index is out of bounds

Since

0.9.0

Alias of list.remove_at

© 2026 Chromia