Returns 1 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 0. Also returns 0 if any of the indices is non valid.
[Visual Basic] Public Shared Function lua_equal( _ ByVal L As IntPtr, _ ByVal idx1 As Integer, _ ByVal idx2 As Integer _ ) As Integer
[C#] public static int lua_equal( IntPtrL, intidx1, intidx2 );