Skip to main content

IsBool

Returns true if the CDocBuilderValue object is a boolean value.

note

This method is not available for JS.

Syntax

def IsBool(self) -> bool

Parameters

This method has no parameters.

Example

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