Instance Property インスタンスプロパティ

startIndex

The position of the first element in a nonempty array. 空でない集合の中の最初の要素の位置。

Declaration 宣言

var startIndex: Int { get }

Discussion 解説

For an instance of Array, startIndex is always zero. If the array is empty, startIndex is equal to endIndex. Arrayのインスタンスに対して、startIndexは常にゼロです。配列が空ならば、startIndexendIndexと等しいです。

Relationships 関係

From Protocol 由来プロトコル

See Also 参照

Manipulating Indices インデックスを操る