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 in COM.

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

Syntax

def CreateUndefined() -> CDocBuilderValue

Example

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