Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This function returns the value stored in a boolean variable, which was previously created using the setBoolean() function.


Code Block
languagebash
titleSyntax
linenumberstrue
getBoolean(variableName) #Output: Boolean


UI Expand
titleExamples


Expression parserDescription


Code Block
languagebash
linenumberstrue
getBoolean("myBoolean")


This example returns the value stored in the variable named "myBoolean", e.g.:

true



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
variableName

Status
subtletrue
titletext

The name of the stored variable.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titleboolean


UI Text Box
typetip

To return the value you must have created the variable before, using the setBoolean() function within the same expression.



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_getboolean" and space = currentSpace()


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns a value stored in a boolean variable.

Output

Status
subtletrue
titleboolean

Available since

Status
subtletrue
colourBlue
title2.6.0

Label