@lang:unique
Remove duplicates from an array, preserving first-occurrence order.
Returns: array
Syntax
Section titled “Syntax”@lang:unique(arr)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
arr | array | Source array |
See Also
Section titled “See Also”- @filter — custom duplicate removal