Skip to main content

CreateUndefined

Creates an undefined value. This method returns the current context and calls its CreateUndefined method.

note

This method is not available for COM and JS.

Syntax

def CreateUndefined() -> CDocBuilderValue

Example

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