In this exercise https://www.codecademy.com/courses/learn-lua/lessons/conditionals-logic-Lua/exercises/the-if-statement in the Lua course, it’s stated that Booleans can have other values/expressions other than true or false. What are the other values? And how do we use them?
I think the key is that it’s not saying booleans can have other values (this would be untrue), but rather boolen expressions can take other forms.
So if normally you’re doing something like
a slightly complicated expression might be
if (not (x and y))