MutableCollection

extension MutableCollection where Self: BidirectionalCollection

Available where Self: BidirectionalCollection

  • Declaration

    Swift

    public var second: Element? { get }

    Return Value

    The second Element in an Array, if not empty. Otherwise, nil.