---
title: "==(_:_:)"
framework: realitykit
role: symbol
role_heading: Operator
path: "realitykit/shaperesource/==(_:_:)"
---

# ==(_:_:)

Indicates whether two shapes are equal.

## Declaration

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

## Parameters

- `lhs`: The first shape to compare.
- `rhs`: The second shape to compare.

## Return Value

Return Value A Boolean value set to true if the two shapes are equal.
