There's a variant of `groupBy` with two parameters...
# announcements
k
There's a variant of
groupBy
with two parameters, one for the key and one for the value:
incomingMessages.groupBy({ MessageIndex(it.phoneType) }, { Message(it.message) })