Skip to main content
Skip table of contents

convertToString() Operation for Booleans

Syntax
NONE
set aString = aBoolean.convertToString() 
set aString = convertToString(true|false)
SemanticsConverts boolean values to strings. The string is assigned either true or false.
SubstitutablesaBooleanCan be any variable or object attribute having the type Boolean.
Examples

Converts the value of the boolean variable b to a string having the value true or false.

NONE
set s1 = b.convertToString(); 

Assigns false to string s2.

NONE
set s2 = convertToString(false); 
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.