lua not equal nil code example Example: lua not equal local state = false if state ~= true then print("No") else print("Yes") end