Skip to main content

Module getfunc

Module getfunc 

Source
Expand description

Node: cxx:Function:Luau.VM:VM/src/lbaselib.cpp:108:getfunc

getfunc — resolve the function argument for getfenv/setfenv: either the explicit function at slot 1, or the function at stack level (via lua_getinfo’s f option, which pushes it). Used by the env builtins.

Functions§

getfunc