uniq()
Returns a new array with duplicate primitive values removed.
Kind: global function
Returns: Array.<*> - Array with duplicates removed.
| Param | Type | Description |
|---|---|---|
| values | Array.<*> | The source array of primitive values. |
Example
ARM.uniq([1, 2, 2, 3]) // [1, 2, 3]Last updated on