BigNum.isbignum(value)

Return true if value is a BigNum or false otherwise.

Example

if bignum.isbignum(x) then
    x:add(1)
else
    x = x + 1
end