You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns the current environment in use by the function. f can be a Lua function or a number that specifies the function at that stack level: Level 1 is the function calling getfenv. If the given function is not a Lua function, or if f is 0, getfenv returns the global environment. The default for f is 1.
The text was updated successfully, but these errors were encountered:
getfenv
meta definition is incomplete.In here, it states that
getfenv
only accepts a function as its only parameter.Meanwhile the 5.1 manual states:
The text was updated successfully, but these errors were encountered: