Warning |
---|
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here ! |
Info | ||
---|---|---|
| ||
This routine is available since katl-commons starting with SIL Engine™ 1.0. |
Syntax
...
isNotNull(variable)
Description
...
Excerpt |
---|
Checks if the provided variable is not null or has a value associated and returns true. Otherwise returns false. |
Parameters
...
Parameter name | Required | Description |
---|---|---|
variable | Yes |
Value you want |
to test. |
Value argument can be a string or a variable of any type. |
Return type
...
boolean (true/false)
Example
...
Code Block |
---|
if(isNotNull(reporter)) { assignee = reporter; } |
Notes
...
Note |
---|
isNotNull returns "true" if the variable has a value attached (including zero for numeric variables or blank for character/string). |
See also
...
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|