Subscript

subscript(_:)

Accesses the element indicated by position.

Declaration

subscript(position: AnyCollection<Element>.Index) -> Element { get }

Discussion

Precondition: position indicates a valid position in self and position != endIndex.

Relationships

From Protocol