Files
wow-weakauras/Meta/api/setglobal.lua
2024-11-07 23:12:37 +01:00

6 lines
398 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