debug.getconstants
Returns the constants of the specified Lua function. Should error on C closures, since they have no constants.
Parameter
func
- The Lua function/level the constants would be obtained from.
Example
Last updated
Returns the constants of the specified Lua function. Should error on C closures, since they have no constants.
func
- The Lua function/level the constants would be obtained from.
Last updated