Returns the elements of this sequence of sequences, concatenated.
SDK
- Xcode 9.3+
Framework
- Swift Standard Library
Declaration
Available when Element conforms to Sequence.
Return Value
A flattened view of the elements of this sequence of sequences.
Discussion
In this example, an array of three ranges is flattened so that the elements of each range can be iterated in turn.