removeAt

fun removeAt(index: Int): T

Removes an element at the specified index from the list.

Return

The element that has been removed.

Throws

If the index exceeds the list's bounds.