Initial commit
This commit is contained in:
7
api/getfenv.lua
Normal file
7
api/getfenv.lua
Normal 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
|
||||
Reference in New Issue
Block a user