> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reelevant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Array Unique

> Get unique values from array

## Overview

The `unique` transformation returns an array containing only unique values, removing duplicates.

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
unique(<variable>)
```

## Parameters

| Parameter  | Type  | Required | Description                         |
| ---------- | ----- | -------- | ----------------------------------- |
| `variable` | array | Yes      | The array to get unique values from |

## Examples

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
unique(<variable>)
```
