<!--
{
  "documentType" : "article",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/SyncableEntityIdentifier/Equatable-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Equatable Implementations"
}
-->

# Equatable Implementations

## Topics

### Operators

[`static func == (SyncableEntityIdentifier<LocalID, StableID>, SyncableEntityIdentifier<LocalID, StableID>) -> Bool`](/documentation/AppIntents/SyncableEntityIdentifier/==(_:_:))

Two identifiers are equal when they have the same shape **and** the same
values: both-local compares local IDs (ignoring stable), both-stable-only
compares stable IDs.  Mixed shapes (one has local, the other doesn’t) are
never equal — this keeps the Hashable contract intact since each shape
hashes a different component.

---

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)