TRY NEW VERSION

CreateUndefined

def CreateUndefined();

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

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

Example

Python

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