Subscript

subscript(_:)

Accesses the element indicated by position. positionによって指し示される要素にアクセスします。

Declaration 宣言

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

Discussion 解説

Precondition: position indicates a valid position in self and position != endIndex. 前提条件:positionselfの中の有効な位置を指し示してposition != endIndexであること。

Relationships 関係

From Protocol 由来プロトコル