Type Aliasswift-algorithms 1.2.1Algorithms
Element
Split.swift:54typealias Element = [Base.Element]
typealias Element = [Base.Element]
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct Iterator
struct SplitSequence<Base> where Base : Sequence
A sequence that lazily splits a base sequence into subsequences separated by elements that satisfy the given whereSeparator
predicate.
associatedtype Element where Self.Element == Self.Iterator.Element
A type representing the sequence’s elements.
mutating func next() -> Element?