kotlin-stdlib / kotlin.collections / ArrayDeque / removeRange removeRange Common JVM JS Native 1.0 protected fun removeRange(fromIndex: Int, toIndex: Int)(source) Removes the range of elements from this list starting from fromIndex and ending with but not including toIndex.