...
Info | ||
---|---|---|
| ||
This routine is available since starting with katl-commons 2.5.7. |
Syntax
...
arrayIntersect(arrayName1, arrayName2)
Description
...
Excerpt |
---|
Intersect between two arrays. |
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
arrayName1 | array | Yes | The first array. |
arrayName2 | array | Yes | The second array. |
Return Type
...
array
Example
...
Code Block |
---|
string[] developers= usersInGroups({"jira-developers"}); string[] administrators = usersInGroups({"jira-administrators"}); return arrayIntersect(developers, administrators); |
...
Code Block |
---|
return usersInGroups({"jira-developers", "jira-administrators"}); |
That's it.
See
...
also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|