removeRange

fun <T> MutableList<T>.removeRange(fromIndex: Int): List<T>