arrayToSet
Syntax | arrayToSet(arrayName) | Package | array |
Alias |
| Pkg Usage | toSet(arrayName) |
Description
Converts an array to a set of unique elements.
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
arrayName | Array | Yes | Array to be converted to a set of elements. |
Return Type
Array
Example
watchers = arrayToSet(watchers);
The result returned by the function is an array that contains the elements from watchers without duplicates.
See also
Peacock
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.