pub fn check_type( state: &mut LuaState, arg: i32, t: LuaType, ) -> Result<(), LuaError>
Assert that the value at arg has Lua type t; raise type error otherwise.
arg
t