Zum Hauptinhalt springen

Aliase

  • debug.getupvalues

Argumente

function | number
erforderlich
Lua function or stack level whose upvalues are returned.

Rückgaben

table
One-based array table containing the function upvalues. Empty when none are present.

Beispiel

Read all upvalues from a Lua closure or stack level.