07-20-2023, 02:23 PM
I have a list on which I'd like to apply some transformations, but excluding the first 2 elements. How can I do it the nicest way? Something like this:
list.reversed().take(list.size - 2)...(my transformations)
or
list.excludeFirstN(2)...(my transformations)
list.reversed().take(list.size - 2)...(my transformations)
or
list.excludeFirstN(2)...(my transformations)