Debug
debug.getupvalue
Retrieves one captured upvalue.
Related to sUNC documentation
This page follows the official sUNC reference.
Signature
function debug.getupvalue(func: (...any) -> (...any) | number, index: number): anyReturns
The selected upvalue.