BidirectionalCollection
extension BidirectionalCollection
-
Declaration
Swift
public var penultimate: Element? { get }Return Value
The second-to-last
ElementinArray, if not empty. Otherwise,nil. -
Declaration
Swift
public func last(amount: Int) -> SubSequence?Return Value
An array with the given
amountof elements from the end ofself.
View on GitHub
Install in Dash
BidirectionalCollection Extension Reference