Subscript

subscript(_:)

Accesses the element at position.

Declaration

subscript(position: FlattenSequence<Base>.Index) -> Base.Element.Element { get }
Available when Base conforms to Collection and Base.Element conforms to Collection.

Discussion

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

Relationships