Check out example codes for "lua operators". It will help you in understanding the concepts better.
Code Example 1
== -- Equal to whatever <= -- Less than or equal to >= -- Greater than or equal to < -- Less than > -- Greater Than ~= -- Doesnt equal # -- Length of something
Code Example 2
== equal to ~= not equal to < less than > greater than <= less than or equal to >= greater than or equal to + Addition - Subtraction * Multiplication / Division ^ Exponentiation % Modulus - Unary negation
Learn ReactJs, React Native from akashmittal.com