https://kotlinlang.org logo
s

Shawn

12/05/2017, 8:02 PM
Ah, lemme clarify - we do want to return
Pair
from the lambda, but using return within the lambda will prematurely return from the function that you’re calling
.map
or
.mapValues
from