arrayUnique

arrayUnique ( array list ) : array

Remove doubloons from a list

Example


tab = [1,1,4,6,9,10]
tab_result = arrayUnique(tab)
console(tab_result) // -> [1, 4, 6, 9, 10]
console(tab) // -> [1, 1, 4, 6, 9, 10]

Parameters

list

Array to remove duplicates from