pike.hubbe.net

[Top]
Array
previousArray.transpose() Array.uniq2()next

Method Array.uniq()


Method uniq

array Array.uniq(array a)

Description

Remove elements that are duplicates.

Returns

This function returns an copy of the array a with all duplicate values removed. The order of the values is kept in the result.


Extracted from Pike v7.3 release 11 at 2001-11-03.