---
title: startIndex
framework: swift
role: symbol
role_heading: Instance Property
path: swift/collectionofone/startindex
---

# startIndex

The position of the first element.

## Declaration

```swift
var startIndex: CollectionOfOne<Element>.Index { get }
```

## Discussion

Discussion In a CollectionOfOne instance, startIndex is always 0.
