Instance Methodswift-algorithms 1.2.1Algorithms
index(before:)
Chunked.swift:621func index(before i: Index) -> Index
func index(before i: Index) -> Index
s10Algorithms23ChunksOfCountCollectionVAASkRzrlE5index6beforeAC5IndexVyx_GAH_tF
What are these?29OUC
where Base:RandomAccessCollection
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct ChunksOfCountCollection<Base> where Base : Collection
A collection that presents the elements of its base collection in SubSequence
chunks of any given count.
struct Index
protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection
A collection that supports efficient random-access index traversal.