---
title: LazyCollection
framework: swift
role: symbol
role_heading: Type Alias
path: swift/lazycollection
---

# LazyCollection

A collection containing the same elements as a Base collection, but on which some operations such as map and filter are implemented lazily.

## Declaration

```swift
typealias LazyCollection<T> = LazySequence<T> where T : Collection
```

## Discussion

Discussion See also: LazySequenceProtocol, LazyCollection

## See Also

### Lazy Wrappers

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