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

# ==(_:_:)

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

## Declaration

```swift
static func == (lhs: Publishers.Collect<Upstream>, rhs: Publishers.Collect<Upstream>) -> Bool
```

## Parameters

- `lhs`: A Collect instance to compare.
- `rhs`: Another Collect instance to compare.

## Return Value

Return Value true if the corresponding upstream properties of each publisher are equal; otherwise false.
