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

# ==(_:_:)

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

## Declaration

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

## Parameters

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

## Return Value

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