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

# ==(_:_:)

Returns a Boolean value indicating whether two angles are equal.

## Declaration

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

## Parameters

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

## Discussion

Discussion Note that this operator compares the raw value of each angle and doesn’t normalize the values. For example, 360° does not 0°.
