Skip to main content

IsString

Returns true if the CDocBuilderValue object is a string.

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

Syntax

def IsString(self) -> bool

Parameters

NameTypeDescription
resultVARIANT_BOOL*Specifies whether the CDocBuilderValue object is a string.

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
bString = globalObj.IsString()