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

7
Meta/api/getfenv.lua Normal file
View File

@@ -0,0 +1,7 @@
---@diagnostic disable: missing-return, lowercase-global
---@param f function
---@param stackLevel number
---@return table env
---Returns the environment for a function (or the global environment). If the environment has a __environment metatable, that value is returned instead.
function getfenv(f, stackLevel) end