ursus
09/27/2019, 2:42 AMNate
09/27/2019, 2:46 AMsubList
could be the closest to what you want
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/sub-list.html
Returns a view of the portion of this list between the specified fromIndex (inclusive) and toIndex (exclusive). The returned list is backed by this list, so non-structural changes in the returned list are reflected in this list, and vice-versa.
ursus
09/27/2019, 2:49 AM