pub unsafe extern "C" fn equal(
state: lua_State,
index1: i32,
index2: i32,
) -> bool
Expand description
Returns true
if the two values in acceptable indices index1
and index2
are equal, following the semantics of the Lua ==
operator (that is, may call metamethods).
Otherwise returns false
. Also returns false
if any of the indices is non valid.