---
title: "key(_:)"
framework: lightweightcoderequirements
role: symbol
role_heading: Instance Method
path: "lightweightcoderequirements/entitlementsquery/key(_:)-swift.method"
---

# key(_:)

Match the specified key in a nested dictionary

## Declaration

```swift
func key(_ keyName: String) -> EntitlementsQuery
```

## Discussion

Discussion Keys are matched byte for byte (i.e. no unicode normalization occurs).
