---
title: "==(_:_:)"
framework: SwiftData
role: symbol
role_heading: Operator
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "swiftdata/sectionedresults/==(_:_:)"
---

# ==(_:_:)

Two SectionedResults are equal if they contain the same ResultsSection values, in the same order.

## Declaration

```swift
static func == (lhs: SectionedResults<Element, SectionTitle>, rhs: SectionedResults<Element, SectionTitle>) -> Bool
```
