getGlobal method

LuauType getGlobal(
  1. String name
)

Pushes onto the stack the value of the global name. Returns the type of that value.

Implementation

LuauType getGlobal(String name) => getField(luaGlobalsIndex, name);