pub fn lua_isnil(l: LuaState, n: c_int) -> bool
Returns if the value at the given index is nil. You might want to use lua_isnoneornil instead.