i know i can use for(i in 0..list.size-1). but too...
# announcements
m
i know i can use for(i in 0..list.size-1). but too verbose
r
myanmarking: You could use
Copy code
for (i in 0..list.lastIndex) { ... }
m
thx
yes i found it already
👍 1