Skip to main content

IsFunction

Returns true if the CDocBuilderValue object is a function.

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

Syntax

def IsFunction(self) -> bool

Parameters

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

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
bFunction = globalObj.IsFunction()