Function Lcheckudata

Source
pub unsafe extern "C" fn Lcheckudata(
    state: lua_State,
    index: i32,
    type_name: *const u8,
) -> *mut c_void
Expand description

Checks whether the function argument index is a userdata of the type type_name (see Lnewmetatable).