Compares two Lua values. Returns
True if the value at index
idx1 satisfies
op when compared with the value at
index
idx2, following the semantics of the corresponding Lua
operator (that is, it may call metamethods). Otherwise returns
False. Also returns
False if any of the indices is
not valid.
The value of op must be of type
RelationalOperator:
EQ: compares for equality (==) LT: compares for less than (<) LE:
compares for less or equal (<=)
Wraps
hslua_compare. See also
lua_compare.