---
title: "==(_:_:)"
framework: foundation
role: symbol
role_heading: Operator
path: "foundation/notification/==(_:_:)"
---

# ==(_:_:)

Compare two notifications for equality.

## Declaration

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