How to use flatMap and compactMap in Swift

Issue #425

flatMap: map and flatten array of arrays compactMap: map and flatten array of optionals

Written by

I’m open source contributor, writer, speaker and product maker.

Start the conversation