---
title: "==(_:_:)"
framework: extensionfoundation
role: symbol
role_heading: Operator
path: "extensionfoundation/appextensionidentity/==(_:_:)"
---

# ==(_:_:)

Returns a Boolean value that indicates whether two identities are equal.

## Declaration

```swift
static func == (lhs: AppExtensionIdentity, rhs: AppExtensionIdentity) -> Bool
```

## Parameters

- `lhs`: The first identity to compare.
- `rhs`: The second identity to compare.

## Return Value

Return Value true if the items are equal, or false if they aren’t.

## See Also

### Comparing app extensions

- [hash(into:)](extensionfoundation/appextensionidentity/hash(into:).md)
