---
title: "==(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/codinguserinfokey/==(_:_:)"
---

# ==(_:_:)

Returns a Boolean value indicating whether the given keys are equal.

## Declaration

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

## Parameters

- `lhs`: The key to compare against.
- `rhs`: The key to compare with.
