How to use a 'IS NOT' / '!=" statement?

What command do I have to use for a 'if not" statement?

I now use

if (value == "string") or (tonumber(value) == int) then..

but sometimes i would rather want to use a IS NOT statement which is sometimes much easier as:

if (value != "string") or (tonumber(value) != int) then..

it seems ‘!=’ does not work, so the question is: how to do a “IS NOT” in lua code?

~=

Everything you wanted to know about the LUA language: http://www.lua.org/

The site does not cover Vera specifics of course, but does a good job with the language itself.