Can I use `.map` with an actual `Map()`? I have a ...
# getting-started
w
Can I use
.map
with an actual
Map()
? I have a function that returns a Map<A, B>, so how can I use
.map()
to traverse this? This doesnt work:
Copy code
myFunctionReturningMap()
    .map { myFunctionTakingAKeyValuePair(it) }

myFunctionTakingAKeyValuePair(first: A, second: B) {}
I didn't necessarily think that would work but am not sure how to take
it
and extract the key/value pair from it to be used in a method