---
title: Sequence Implementations
framework: swift
role: collectionGroup
role_heading: API Collection
path: swift/substring/sequence-implementations
---

# Sequence Implementations

## Topics

### Instance Properties

- [lazy](swift/substring/lazy.md)

### Instance Methods

- [allSatisfy(_:)](swift/substring/allsatisfy(_:).md)
- [compactMap(_:)](swift/substring/compactmap(_:).md)
- [contains(_:)](swift/substring/contains(_:).md)
- [contains(where:)](swift/substring/contains(where:).md)
- [count(where:)](swift/substring/count(where:).md)
- [elementsEqual(_:)](swift/substring/elementsequal(_:).md)
- [elementsEqual(_:by:)](swift/substring/elementsequal(_:by:).md)
- [enumerated()](swift/substring/enumerated().md)
- [filter(_:)](swift/substring/filter(_:)-7pg72.md)
- [first(where:)](swift/substring/first(where:).md)
- [flatMap(_:)](swift/substring/flatmap(_:)-6chtu.md)
- [flatMap(_:)](swift/substring/flatmap(_:)-i3n5.md)
- [forEach(_:)](swift/substring/foreach(_:).md)
- [lexicographicallyPrecedes(_:)](swift/substring/lexicographicallyprecedes(_:).md)
- [lexicographicallyPrecedes(_:by:)](swift/substring/lexicographicallyprecedes(_:by:).md)
- [map(_:)](swift/substring/map(_:)-9jnor.md)
- [max()](swift/substring/max().md)
- [max(by:)](swift/substring/max(by:).md)
- [min()](swift/substring/min().md)
- [min(by:)](swift/substring/min(by:).md)
- [reduce(_:_:)](swift/substring/reduce(_:_:).md)
- [reduce(into:_:)](swift/substring/reduce(into:_:).md)
- [shuffled()](swift/substring/shuffled().md)
- [shuffled(using:)](swift/substring/shuffled(using:).md)
- [sorted()](swift/substring/sorted().md)
- [sorted(by:)](swift/substring/sorted(by:).md)
- [starts(with:)](swift/substring/starts(with:).md)
- [starts(with:by:)](swift/substring/starts(with:by:).md)
- [withContiguousStorageIfAvailable(_:)](swift/substring/withcontiguousstorageifavailable(_:).md)

### Type Aliases

- [Substring.Element](swift/substring/element.md)
