debug.setupvalue (f, up, value)
This function assigns the value value
to the upvalue with index up
of the function f
. The function returns nil if there is no upvalue with the given index. Otherwise, it returns the name of the upvalue.
debug.setupvalue (f, up, value)
This function assigns the value value
to the upvalue with index up
of the function f
. The function returns nil if there is no upvalue with the given index. Otherwise, it returns the name of the upvalue.
Designed by : w10schools
service@w10schools.com
Please login to continue.