Instance Methodswift-algorithms 1.2.1Algorithms
index(before:)
Joined.swift:315func index(before index: Index) -> Index
func index(before index: Index) -> Index
s10Algorithms25JoinedByClosureCollectionVAASKRzSKR_SK7ElementRpzrlE5index6beforeAC5IndexVyxq__GAJ_tF
What are these?60OBO
where Base:BidirectionalCollection, Base.Element:BidirectionalCollection, Separator:BidirectionalCollection, Separator.Element == Base.Element.Element
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct JoinedByClosureCollection<Base, Separator> where Base : Collection, Separator : Collection, Base.Element : Collection, Separator.Element == Base.Element.Element
A collection that presents the elements of a base collection of collections concatenated using a given separator that depends on the collections right before and after it.
struct Index
protocol BidirectionalCollection<Element> : Collection where Self.Indices : BidirectionalCollection, Self.SubSequence : BidirectionalCollection
A collection that supports backward as well as forward traversal.