---
title: "==(_:_:)"
framework: arkit
role: symbol
role_heading: Operator
path: "arkit/objectanchor/==(_:_:)"
---

# ==(_:_:)

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

## Declaration

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

## Parameters

- `lhs`: The left-hand side object anchor to compare.
- `rhs`: The right-hand side object anchor to compare.

## Return Value

Return Value true if the two object anchors are equal; otherwise, false.
