Structure
LazyMapSequence.Iterator
A type that provides the collection’s iteration interface and encapsulates its iteration state.
Overview
By default, a collection conforms to the Sequence
protocol by supplying IndexingIterator
as its associated Iterator
type.
Topics
Instance Methods
func contains(Element) -> Bool
Returns a Boolean value indicating whether the sequence contains the given element.
Available when Element conforms to Equatable.
func joined(separator: String) -> String
Returns a new string by concatenating the elements of the sequence, adding the given separator between each element.
Available when Element conforms to StringProtocol.
func max() -> Element?
Returns the maximum element in the sequence.
Available when Element conforms to Comparable.
func min() -> Element?
Returns the minimum element in the sequence.
Available when Element conforms to Comparable.