---
title: "==(_:_:)"
framework: combine
role: symbol
role_heading: Operator
path: "combine/empty/==(_:_:)"
---

# ==(_:_:)

Returns a Boolean value that indicates whether two publishers are equivalent.

## Declaration

```swift
static func == (lhs: Empty<Output, Failure>, rhs: Empty<Output, Failure>) -> Bool
```

## Parameters

- `lhs`: An Empty instance to compare.
- `rhs`: Another Empty instance to compare.

## Return Value

Return Value true if the two publishers have equal completeImmediately properties; otherwise false.
