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

# ==(_:_:)

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

## Declaration

```swift
static func == (lhs: Publishers.Concatenate<Prefix, Suffix>, rhs: Publishers.Concatenate<Prefix, Suffix>) -> Bool
```

## Parameters

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

## Return Value

Return Value true if the two publishers’ prefix and suffix properties are equal; otherwise false.
