Subscript

subscript(_:)

Accesses the element indicated by position.

Declaration

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

Discussion

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

Relationships