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

# dropFirst(_:)

## Declaration

```swift
func dropFirst(_ n: Int = 1) -> AnyCollection<Element>
```
