---
title: "formIndex(_:offsetBy:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/collection/formindex(_:offsetby:)-9q9sx"
---

# formIndex(_:offsetBy:)

## Declaration

```swift
func formIndex<T>(_ i: inout Self.Index, offsetBy n: T) where T : BinaryInteger
```
