arrayToSet

Description

Converts an array to a set of unique elements.

Parameters

Return Type

Array

Example

watchers = arrayToSet(watchers);

The result returned by the routine is an array that contains the elements from watchers without duplicates.

See also