Skip to main content

List: Unique

Drop duplicate elements from an input list, preserving the position of the first occurrence. Equality is structural — same value type and content.

Example
Input: [1, 2, 2, 3, 1, 4]
Output: [1, 2, 3, 4]

Parameters

This function has no parameters.

Input

ArrayREQUIRED

List to dedupe (Array or JSON array).

Output

Result
The deduplicated list.