less than lua code example
Example 1: lua not equal
local state = false
if state ~= true then
print("No")
else
print("Yes")
end
Example 2: less than or equal to lua
-- less than or equal to operator
if A <= B then
print("A is smaller than B")
end
-- other operators include:
-- == (equal to)
-- ~= (not equal to)