Returns the concatenated results of mapping the given transformation over this sequence.
- Xcode 10.2+
- Swift Standard Library
Use this method to receive a single-level sequence when your transformation produces a sequence or collection for each element. Calling
flat on a sequence
s is equivalent to calling