let's say I have a list of persons: ``` val people...
# getting-started
p
let's say I have a list of persons:
Copy code
val people = listOf(Person("Jack", 24), Person("Jill", 30))
is there any way i could get two lists of data out of this in one pass, that look like this?
Copy code
val names = ["Jack", "Jill"]
val ages = [24, 30]