removeRange
Removes the range of elements from this list starting from fromIndex and ending with but not including toIndex.
Since Kotlin
2.0Removes the range of elements from this list starting from fromIndex and ending with but not including toIndex.
Since Kotlin
1.1Removes the range of elements from this list starting from fromIndex and ending with but not including toIndex.