---
title: startIndex
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mldatatable/rows-swift.struct/startindex
---

# startIndex

The position of the first row in a nonempty DataTable. If the DataTable is empty, startIndex is equal to endIndex.

## Declaration

```swift
var startIndex: Int { get }
```

## See Also

### Manipulating indices

- [endIndex](createml/mldatatable/rows-swift.struct/endindex.md)
