BigNum:eq(x)
Return true if the BigNum value equals x, false otherwise. Lua does not support operator overloading for comparison between two different types (such as comparing a BigNum to a normal number), therefore the BigNum:compare() or other functions must be used to compare BigNum values to other non BigNum values.
Example
x = BigNum.new("12345")
if not x:eq(12345) then
error( "Something is wrong!", 0 )
end