---
title: elements
framework: swift
role: symbol
role_heading: Instance Property
path: swift/lazysequenceprotocol/elements-6570c
---

# elements

A sequence containing the same elements as this one, possibly with a simpler type.

## Declaration

```swift
var elements: Self.Elements { get }
```

## Discussion

Discussion When implementing lazy operations, wrapping elements instead of self can prevent result types from growing an extra LazySequence layer. Note: this property need not be implemented by conforming types, it has a default implementation in a protocol extension that just returns self.
