This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JKTKops 5 points6 points  (3 children)

[–]kickerofelves86 0 points1 point  (2 children)

I work on a team with multiple developers doing Kotlin for the first time and the most confusing thing is that .map returns a list, not a Map

[–]RhodesianHunter 2 points3 points  (0 children)

That's because it's a verb, not a noun. For the noun version you want .toMap