TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

ToBool

def ToBool(self);

Converts the CDocBuilderValue object to a boolean value.

Please note, that for the .docbuilder file the CDocBuilderValue.ToBool method is not used.

Example

Python

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
bGlobal = globalObj.ToBool()