---
title: endIndex
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/indexpath/endindex
---

# endIndex

One past the index of the last node in the index path.

## Declaration

```swift
var endIndex: IndexPath.Index { get }
```

## See Also

### Working with Special Node Names

- [item](foundation/indexpath/item-8cp0y.md)
- [row](foundation/indexpath/row.md)
- [section](foundation/indexpath/section-8h7wo.md)
- [startIndex](foundation/indexpath/startindex.md)
