---
title: "==(_:_:)"
framework: network
role: symbol
role_heading: Operator
path: "network/bonjour/endpoint/==(_:_:)"
---

# ==(_:_:)

Compare two endpoints for equality.

## Declaration

```swift
static func == (lhs: Bonjour.Endpoint, rhs: Bonjour.Endpoint) -> Bool
```
