SwiftextensionBookFoundation

extension Swift.RandomAccessCollection

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 3

  1. funcRandomAccessCollection.element(_: A.Element, equatedBy: (A.Element, A.Element) -> Bool, offsetBy: Int) -> A.Element?
  2. funcRandomAccessCollection< where A.Element: Equatable>.element(_: A.Element, offsetBy: Int) -> A.Element?
  3. varvar firstAndLast: (first: A.Element, last: A.Element)? { get }
extension Swift.RandomAccessCollection {
    var firstAndLast: (first: Self.Element, last: Self.Element)? {
        get
    }

    func element(_: Self.Element, equatedBy: (Self.Element, Self.Element) -> Swift.Bool, offsetBy: Swift.Int) -> Self.Element?
    func element(_: Self.Element, offsetBy: Swift.Int) -> Self.Element? where Self.Element: Swift.Equatable
}