# keys()

### Description

`KEYS()` returns a list of the keys of all the entries of a dictionary.

### Example 1

```
{"First Name": "Thorben", "Last Name": "Croisé"}.keys()
```

This creates a simple dictionary with just two entries. We then get the list of the keys of these entries, so this results in `["First Name", "Last Name"]`.

### Example 2

```
p is Person
p.values.keys()
```

This return all the keys of the `values` dictionary of a person.

###


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.atfinity.io/rule-language/operators/dictionary-operators/in-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
