Type Aliasswift 6.0.3Swift
Element
typealias Element = Base.Element.Element
typealias Element = Base.Element.Element
import Swift
@frozen struct JoinedSequence<Base> where Base : Sequence, Base.Element : Sequence
A sequence that presents the elements of a base sequence of sequences concatenated using a given separator.
associatedtype Element where Self.Element == Self.Iterator.Element
A type representing the sequence’s elements.
init<Separator>(base: Base, separator: Separator) where Separator : Sequence, Separator.Element == Base.Element.Element
Creates an iterator that presents the elements of the sequences traversed by base
, concatenated using separator
.