you could also just do `people.map { it.location }...
# kotlintest
s
you could also just do
people.map { it.location }.toSet() shouldBe setOf("London")