joined(by:)

Returns the concatenation of the elements in this sequence of sequences, inserting the separator produced by the closure between each sequence.

Joined.swift:424
func joined<Separator>(by separator: @escaping (Element, Element) -> Separator) -> JoinedByClosureSequence<Elements, Separator> where Separator : Sequence, Separator.Element == Self.Element.Element