Say i have an array for objects
let persons = [Person]
struct Person {
let name: String
let position: Int
}
And i wanna return array of strings [String] containing persons' names whose position is equal to 1. If there any way to do this using map/flatmap/reduce functions?