This commit is contained in:
2024-11-07 23:12:37 +01:00
parent a67a1d8f40
commit f7c91862a0
3089 changed files with 18209 additions and 0 deletions

6
Meta/api/setglobal.lua Normal file
View File

@@ -0,0 +1,6 @@
---@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