<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftData",
  "identifier" : "/documentation/SwiftData/SectionedResults/==(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "SwiftData"
    ],
    "preciseIdentifier" : "s:9SwiftData16SectionedResultsV2eeoiySbACyxq_G_AEtFZ"
  },
  "title" : "==(_:_:)"
}
-->

# ==(_:_:)

Two `SectionedResults` are equal if they contain the same [`ResultsSection`](/documentation/SwiftData/ResultsSection)
values, in the same order.

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

---

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)