# Array distinct > Supported in: Batch, Faster, Streaming Removes duplicates and returns distinct values from the array. **Expression categories:** Array ## Declared arguments * **Expression:** Input array from which to remove duplicates.
*Expression\>* **Type variable bounds:** *T accepts ComparableType* **Output type:** *Array\* ## Examples ### Example 1: Base case **Argument values:** * **Expression:** \[ 1, 1, 2, 3 ] **Output:** \[ 1, 2, 3 ] *** ### Example 2: Null case **Argument values:** * **Expression:** `array` | array | **Output** | | ----- | ----- | | *null* | *null* | ***