Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!
Availability
This routine is available starting with SIL Engine™ 2.5.7.
Syntax
arrayToSet(arrayName)
Description
Converts an array to a set of unique elements.Alias
arrayToSet(arrayName)
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 routine is an array that contains the elements from watchers without duplicates.
See also