Initializing help system before first use

getboolvalue

getboolvalue


Purpose
Retrieve a boolean value held within a jvmobject
Synopsis
function getboolvalue(obj:jvmobject) : boolean
Argument
obj 
The object reference to query, which must be an instance of java.lang.Boolean
Return value
The boolean value held within the Java object
Further information
1. If the reference within the jvmobject is null, calling this function will cause the model to immediately terminate with an error. You can use getisnull to check the object reference is set before calling this.
2. If the jvmobject is not a java.lang.Boolean, calling this function will cause the model to immediately terminate with an error. You can use getclass to check the object reference type before calling this.
Related topics