Relational operators are Operators that will use the relationship between the two sides of the expression and return a boolean. There are several operators.
|Equal||Not Equal||Greater Than||Less Than||Greater Than Inclusive||Less Than Inclusive|
The following is a simple use of the operators.
true false false
The following is a simple use of operators in a conditional.
5 is less than 6!
The behavior of these operators come from the metatable of the first thing its comparing. However, this behavior cannot be overwritten from Lua.
Shows how relational operators can not be overwritten.
attempt to index a string value