<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Synchronization/WordPair/==(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Synchronization"
    ],
    "preciseIdentifier" : "s:15Synchronization8WordPairV2eeoiySbAC_ACtFZ"
  },
  "title" : "==(_:_:)"
}
-->

# ==(_:_:)

Compares two values of this type to determine if they are equivalent to
each other.

```
static func == (lhs: WordPair, rhs: WordPair) -> Bool
```

## Parameters

`lhs`

The first value to compare.

`rhs`

The second value to compare.

## Return Value

True if both values were equal, or false if they were unequal.

---

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)