Files
wow_Meta/api/setglobal.lua
2025-05-04 15:15:00 +02:00

8 lines
401 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@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