> For the complete documentation index, see [llms.txt](https://docs.wem.io/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wem.io/platform/wemreference/keywords/concepts/range-of.md).

# Range of

{% hint style="info" %}
The `Range Of` keyword returns all allowed concepts of a concept or concept-set based on the field definition (root concept, depth and type restriction).

This function is NOT SQL compatible. For more information about SQL compatibility, see our [documentation](/platform/wemreference/sql-compatibility.md).
{% endhint %}

{% hint style="success" %}
Returns a <mark style="color:green;">concept set</mark> that contains all the allowed concepts for a specified single-select or multi-select-field.&#x20;
{% endhint %}

<details>

<summary><code>Range Of </code><mark style="color:blue;"><code>concept</code></mark></summary>

`Range Of`` `<mark style="color:blue;">`[single-select-field]`</mark>\
\&#xNAN;*=> Returns all concepts of the Single Select Field (concept) based on its Root Concept, the indicated Depth (all descendants or only the Direct Children) and -optionally- the Concept-Type-restriction*

</details>

<details>

<summary><code>Range Of </code><mark style="color:blue;"><code>concept_set</code></mark></summary>

`Range Of`` `<mark style="color:blue;">`[multi-select-field]`</mark>\
\&#xNAN;*=> Returns all concepts of the Multi Select Field (concept-set) based on its Root Concept, the indicated Depth (all descendants or only the Direct Children) and -optionally- the Concept-Type-restriction*

</details>


---

# 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.wem.io/platform/wemreference/keywords/concepts/range-of.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.
