Skip to end of metadata
Go to start of metadata

Availability

This routine is available starting with SIL Engine™ 2.5.7.

Syntax

arrayUnion(arrayName1, arrayName2)

Description

Union between two arrays.

Parameters

Parameter name

Type

Required

Description

arrayName1

array

Yes

First array.

arrayName2arrayYesSecond array.

Return Type

array

Example

string[] developers= usersInGroups({"jira-developers"});
string[] administrators = usersInGroups({"jira-administrators"});
return arrayUnion(developers, administrators);

The result returned by the routine is an array that contains the unique elements from developers and administrators.


See also