Przejdź do głównej treści

Aliasy

  • debug.getupvalues

Argumenty

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

Zwroty

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

Przykład

Read all upvalues from a Lua closure or stack level.