Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=arrayElementExists+-+15488771 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | arrayElementExists(array, elem) | Package | array | Alias | elementExists (array, elem) | Pkg Usage | elementExists(array, elem) | |
...
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_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
...