Instance Methodswift 6.0.1Swift
suffix(_:)
func suffix(_ maxLength: Int) -> [Element]
Other members in extension
Typealiases
Type members
init<S>(S
) Creates a new sequence that wraps and forwards operations to
base
.init<I>(@escaping () -> I
) Creates a sequence whose
makeIterator()
method forwards tomakeUnderlyingIterator
.
Instance members
var underestimatedCount: Int
func drop(while: (Element) throws -> Bool
) rethrows -> AnySequence<Element> func dropFirst(Int
) -> AnySequence<Element> func dropLast(Int
) -> [Element] func filter((Element) throws -> Bool
) rethrows -> [Element] func forEach((Element) throws -> Void
) rethrows func makeIterator(
) -> AnySequence<Element>.Iterator func map<T, E>((Element)
throws func prefix(Int
) -> AnySequence<Element> func prefix(while: (Element) throws -> Bool
) rethrows -> [Element]