> For the complete documentation index, see [llms.txt](https://docs.atfinity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.atfinity.io/rule-language/operators/boolean-operators/or.md).

# or

### Description

When using `or` to connect two expressions, the entire condition evaluates is 'true', if at least one of the expressions is 'true'.

### Example

Say, a [document](/guides/glossary/document.md) is needed for a person who either lives in Germany or pays taxes in Germany.

```
p is Person
p.tax_domicile = de 
or
p.domicile = de
```

With these expressions, connected by `or`, attached to a [document](/guides/glossary/document.md), that document will only appear in the [case](/guides/glossary/case.md) for client Peter Müller if he lives in Germany, but works and pays taxes in France. It will also appear in the case for Valérie Jupeau, who works in Germany, and pays taxes there, but lives in Basel.

However, it will not appear in the case for Claudia Dunkelmann, a German citizen who works, pays taxes, and lives in Spain.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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