Skip to main content

IsInt

Returns true if the CDocBuilderValue object is an integer.

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

Syntax

def IsInt(self) -> bool

Parameters

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

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
bInt = globalObj.IsInt()