<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/LazyDropWhileCollection",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s23LazyDropWhileCollectiona"
  },
  "title" : "LazyDropWhileCollection"
}
-->

# LazyDropWhileCollection

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

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

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)