<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/AccessoryAnchor/==(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit15AccessoryAnchorV2eeoiySbAC_ACtFZ"
  },
  "title" : "==(_:_:)"
}
-->

# ==(_:_:)

Returns a Boolean value indicating whether two accessory anchors are equal.

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

## Parameters

`lhs`

The left-hand side accessory anchor to compare.

`rhs`

The right-hand side accessory anchor to compare.

## Return Value

`true` if the two accessory anchors are equal; otherwise, `false`.

---

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)