Filter and map an array
Applies a filter and a map operation at once and in one pass. If the filter is omitted, returns all non-nullish mapped values.