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.
debug.setname(func: function, name: string): ()
func
function
name
string
void
local function test() end debug.setname(test, "new_func_name") print(debug.getinfo(test).name) -- "new_func_name"
debug.setname(function() end, "anonymous_hook")