---
title: LazyDropWhileCollection
framework: swift
role: symbol
role_heading: Type Alias
path: swift/lazydropwhilecollection
---

# LazyDropWhileCollection

A lazy wrapper that includes the elements of an underlying collection after any initial consecutive elements that satisfy a predicate.

## Declaration

```swift
typealias LazyDropWhileCollection<T> = LazyDropWhileSequence<T> where T : Collection
```

## Discussion

Discussion note: The performance of accessing startIndex, first, or any methods that depend on startIndex depends on how many elements satisfy the predicate at the start of the collection, and may not offer the usual performance given by the Collection protocol. Be aware, therefore, that general operations on lazy collections may not have the documented complexity.

## See Also

### Lazy Wrappers

- [LazySequence](swift/lazysequence.md)
- [LazyMapSequence](swift/lazymapsequence.md)
- [LazyFilterSequence](swift/lazyfiltersequence.md)
- [LazyPrefixWhileSequence](swift/lazyprefixwhilesequence.md)
- [LazyDropWhileSequence](swift/lazydropwhilesequence.md)
- [LazyCollection](swift/lazycollection.md)
- [LazyFilterCollection](swift/lazyfiltercollection.md)
- [LazyMapCollection](swift/lazymapcollection.md)
- [LazyPrefixWhileCollection](swift/lazyprefixwhilecollection.md)
