startIndex
The position of the first element in a nonempty collection.
Declaration
@MainActor @preconcurrency var startIndex: Int { get }Discussion
If the collection is empty, startIndex is equal to endIndex.
The position of the first element in a nonempty collection.
@MainActor @preconcurrency var startIndex: Int { get }If the collection is empty, startIndex is equal to endIndex.