Info |
---|
Availability
This routine is available starting with SIL Engine™ 2.5.7. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | arrayToSet(arrayName) | Package | array | Alias | |
...
...
Description
Excerpt |
---|
|
Converts an array to a set of unique elements. |
Alias
arrayToSet(arrayName)
...
Converts an array to a set of unique elements.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
arrayName | |
...
Array | Yes | Array to be converted to a set of elements. |
|
Return Type
arrayArray
Example
Code Block |
---|
watchers = arrayToSet(watchers); |
The result returned by the routine is an array that contains the elements from watchers without duplicates.
See also
Filter by label (Content by label) |
---|
|
...
25 | showSpace | false |
---|
cql | label = "array_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|