---
title: "+(_:_:)"
framework: foundation
role: symbol
role_heading: Operator
path: "foundation/indexpath/+(_:_:)"
---

# +(_:_:)

Combines the elements of two index paths into a single index path.

## Declaration

```swift
static func + (lhs: IndexPath, rhs: IndexPath) -> IndexPath
```

## See Also

### Adding Nodes

- [+=(_:_:)](foundation/indexpath/+=(_:_:).md)
