<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/!=(_:_:)-18co7",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s2neoiySbyt_yttF"
  },
  "title" : "!=(_:_:)"
}
-->

# !=(_:_:)

Returns a Boolean value indicating whether any corresponding components of
the two tuples are not equal.

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

## Parameters

`lhs`

An empty tuple.

`rhs`

An empty tuple.

## Discussion

All arity zero tuples are equal.

---

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)