Syntax | arrayIntersect(arrayName1, arrayName2) | Package | array |
Alias |
| Pkg Usage | intersect(arrayName1, arrayName2) |
Intersect between two arrays.
Parameter name | Type | Required | Description |
---|---|---|---|
arrayName1 | Array | Yes | First array. |
arrayName2 | Array | Yes | Second array. |
Array
string[] developers= usersInGroups({"jira-developers"});
string[] administrators = usersInGroups({"jira-administrators"});
return arrayIntersect(developers, administrators);
The result returned by the function is an array that contains the unique elements found in both developers and administrators groups.
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.