---
title: "==(_:_:)"
framework: spatial
role: symbol
role_heading: Operator
path: "spatial/angle2d/==(_:_:)"
---

# ==(_:_:)

Returns a Boolean value that indicates whether two angles are equal.

## Declaration

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

## Parameters

- `lhs`: The left-hand-side value.
- `rhs`: The right-hand-side value.

## Return Value

Return Value A Boolean value that indicates whether two values are equal.

## Discussion

Discussion note: That this operator compares the raw value of each angle and doesn’t normalize the values. For example, 360° doesn’t equal 0°.
