# IN

{% hint style="info" %}
ALIAS of CONTAINSWITHIN
{% endhint %}

IN(`value`, `where`)

Returns `true` if the input `value`(s) exist within column(s) or list of values and is of a matching data type, otherwise returns `false`.

### Arguments

| Argument | Description                           |
| -------- | ------------------------------------- |
| `value`  | The `value`(s) to search for.         |
| `where`  | A column or list of values to search. |

### �Output

Outputs `true` if `value` exists within `where`, otherwise outputs `false`.

### Example

{% embed url="<https://datawrapper.dwcdn.net/facg8/1/>" %}


---

# 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.cascade.io/cascade/functions-and-expressions/functions/logical/in.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.
