Function Loptinteger

Source
pub unsafe extern "C" fn Loptinteger(
    state: lua_State,
    index: i32,
    default: isize,
) -> isize
Expand description

If the function argument index is a number, returns this number cast to a lua_Integer. If this argument is absent or is nil, returns default. Otherwise, raises an error.