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

# ==(_:_:)

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

## Declaration

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

## Parameters

- `lhs`: A Fail publisher to compare for equality.
- `rhs`: Another Fail publisher to compare for equality.

## Return Value

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