Skip to main content

IsBool

Returns true if the CDocBuilderValue object is a boolean value.

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

Syntax

def IsBool(self) -> bool

Parameters

NameTypeDescription
resultVARIANT_BOOL*Specifies whether the CDocBuilderValue object is a boolean value.

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
bBool = globalObj.IsBool()