Instance PropertySwift

    startIndex

    The position of the first element in a nonempty collection.

    var startIndex: Int { get }

    Overview

    If the collection is empty, startIndex is equal to endIndex.