svenknebel.de / lua

TIL: Lua has the table of global variables exposed, so one can check if e.g. a function is defined before attempting to use it with _G["myfunc"]~=nil