getField abstract method

LuauType getField(
  1. int index,
  2. String name
)

Pushes onto the stack the value tk, where t is the value at the given index. As in Lua, this function may trigger a metamethod for the "index" event.

Returns the type of the pushed value.

Implementation

LuauType getField(int index, String name);