Skip to main content

CreateNull

Creates a null value. This method returns the current context and calls its CreateNull method.

note

This method is not available for COM and JS.

Syntax

def CreateNull() -> CDocBuilderValue

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
api = globalObj["Api"]
null = api.CreateNull()