Skip to Content

uniq()

Returns a new array with duplicate primitive values removed.

Kind: global function
Returns: Array.<*> - Array with duplicates removed.

ParamTypeDescription
valuesArray.<*>The source array of primitive values.

Example

ARM.uniq([1, 2, 2, 3]) // [1, 2, 3]
Last updated on