# ARRAY_CONTAINS() Function

### Description

Determines whether the specified value is found in the specified array

### Syntax

```sql
ARRAY_CONTAINS(array, value_expression)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _array_ | Array input | Array | Yes |
| _element_ | The element argument | Any | Yes |

#### Notes

-   Returns TRUE if the specified value is found in the specified array
-   Comparisons are type-sensitive: '2' is not equal to 2
-   If the array is NULL, the result is NULL
-   If the value\_expression is NULL, the result depends on array contents (can be NULL or FALSE)

### Example

```sql
SELECT
    ARRAY_CONTAINS(tags, 'eng')
FROM
    rippling.employee.Employee
LIMIT
    5;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/array_contains

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
