Function lua_equal

Source
pub fn lua_equal(l: LuaState, ind1: c_int, ind2: c_int) -> c_int
Expand description

Returns 1 or 0 for if the two values at given indices are equal, calling __eq metamethods along the way unlike lua_rawequal. Also returns 0 if any of the indices are non valid.