removeAt

open override fun removeAt(index: Int): E(source)

Removes an element at the specified index from the list.

Since Kotlin

1.4

Return

the element that has been removed.