Kotlin collections/streams?


I was trying to do some collection/stream based pagination of a small dataset, but it doesnt look like Kotlin has this?

Streams has something like (forgot the exact):


which should give me results 30-40 yea? How do I do this with kotlin?




Ohhhhh! Man, haha, I looked through all of the intellisense methods and that one totally did not stick out to me.

Awesome, thanks!!!