ToBool
def ToBool(self)
Description
Converts the CDocBuilderValue
object to a boolean value.
Please note, that for the
.docbuilder
file theCDocBuilderValue.ToBool
method is not used.
Example
Python
builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
bGlobal = globalObj.ToBool()