Function lua_rawget

Source
pub unsafe extern "C-unwind" fn lua_rawget(
    L: *mut lua_State,
    idx: c_int,
) -> lua_Type
Expand description

Raw-indexes a table at the given index with the key at the top of the stack and pushes the value onto the stack.

This function is equivalent to the Luau code rawget(t, k) where t is at the given index, and k is at the top of the stack. The key will be popped from the stack, and the resulting value will be pushed onto the stack.

The type of the resulting value is returned.