`.chunked(2)` works too.
# getting-started
k
.chunked(2)
works too.
🤯 4
👏 1
s
there it is, that’s what I was really thinking of
a
Basically its windowed when size and step are equal
😮 1
k
It literally is, look in the source.
a
Really lemme check
Oh lol I was actually right with that random guess 😆
a
omg
This is amazing. I recently wrote a blog post on hidden gems in Kotlin and I'm upset I didn't include this.
k
Blog posts about hidden gems never include the real ones 🧌
a
listen I included
.partition()
and every person I've spoken to said that was a new one lol
a
I saw it as well @adam-mcneilly maybe they did not know it
a
Gonna go update that post haha