# \[ , ] (create)

### Description

To create a list of things, use `[,]`. Place all single values to include in the list in between the square brackets and separate each with a comma.

All operators that work on lists can then perform actions on the newly created list.

### Examples

```
["First", "Second", "Third"]
```

This simply creates a list of the three strings First, Second and Third.

If you want to have a field storing if somebody is from Germany, Austria or Switzerland, you could write:

```
p is Person
p.nationality contains any ['de', 'at', 'ch']
```


---

# 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/list-operators/list.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.
