debug.getupvalues
Returns the upvalues of the specified function. nil
will be returned if there is none.
Parameter
func
- The Lua function/level the upvalues would be obtained from.
Examples
Last updated
Returns the upvalues of the specified function. nil
will be returned if there is none.
func
- The Lua function/level the upvalues would be obtained from.
Last updated