Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns a singular upvalue that’s derived from a function’s upvalue list. Selected via index.
function debug.getupvalue(function: function | number, index: number): any
getupvalue
local bar = "Hello, World!" function foo() print(bar) end local upvalue = debug.getupvalue(foo, 1) print(upvalue)