Documentation Language: Swift

Method

flatMap(_:)

Inherited from Sequence.flatMap(_:).

func flatMap<SegmentOfResult>(_ transform: (Self.Element) throws -> SegmentOfResult) rethrows -> [SegmentOfResult.Element] where SegmentOfResult : Sequence