I have an array called filters with true and false in it indicating whether to certain index positions in data array should be processed.

How would I do the following using functional approach (map/filter/reduce)?

```
var targetData: [String] = []
for i in 0..<filters.count where filters[i] {
    targetData.append(data[i])
}

```