Let's say I have a `List<User>` and want to ...
# announcements
f
Let's say I have a
List<User>
and want to get a
List<String>
of their
name
property, is there a helper method for this?
a
Copy code
val users = listOf(user1,user2,user3,user4)
val usernames = users.map {it.name}
👍 2
f
thank you
oh, of course