Questions On LUA

What does != mean and what does ~= i cant quite find these on the internet.

!= means ‘is not’
pretty sure the other one is the same

!= and ~= are both “Is not” like “if !ply:IsAdmin() then end” is the same as “if not ply:IsAdmin() then end”

Ok so like
if 1 != 2 then
print(“what”)
end
and it would right?

ya

Just to clarify further, they are both the same but != only exists on gmod lua because garry added it. Regular Lua only has ~= and not