---
title: "suffix(_:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/anycollection/suffix(_:)"
---

# suffix(_:)

## Declaration

```swift
func suffix(_ maxLength: Int) -> AnyCollection<Element>
```
