Skip to main content

IsObject

Returns true if the CDocBuilderValue object is an object.

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

Syntax

def IsObject(self) -> bool

Parameters

NameTypeDescription
resultVARIANT_BOOL*Specifies whether the CDocBuilderValue object is an object.

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
bObject = globalObj.IsObject()