...
Code Block |
---|
if( elementExists(watchers, currentUser()) ){
print("You are watching this issue.");
} |
The routine function returns "true" if currentUser is in the watchers array and if the result is "true" a message is printed.
Note |
---|
If elem is not the same type as declared in the array definition, the routine function returns "error". |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "array_routinefunction" and space = currentSpace ( ) |
---|
labels | array_routinesfunctions |
---|
|