Files
wow_Meta/api/setglobal.lua
2025-05-04 14:35:26 +02:00

7 lines
392 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param name string
---@param value value
---Sets a global variable to a specified value. Allows setting the value of a global variable in contexts where its name might be overridden by that of a local variable; i.e. setglobal(name, value) is equivalent to _G.name = value or _G["name"] = value.
function setglobal(name, value) end