I use chunks(ofCount:) to break my array into groups, now I have a bunch of
Collection's (whatever chunks produces). I can do:
but I can find no way to now get the
last element, there is no
.last? How to get the last element of a collection?
I'm doing this for now:
it works (I know for sure there is at least one element). But seem kind wrong?