Skip to main content

Aliases

  • debug.getupvalues

Argumentos

function | number
obrigatório
Lua function or stack level whose upvalues are returned.

Retornos

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

Exemplo

Read all upvalues from a Lua closure or stack level.