15.3. Boolean OperatorsThe boolean operators implement the basics of logic, working on boolean operands to produce a boolean result. The second operand, but not the first, will be coerced from a string or an integer, or a list of one string or one integer, to a boolean. Either operand will be coerced from a list of one boolean to a boolean.
logical and logical andSyntaxboolean1 and boolean2 DescriptionReturns TRue if both operands are true. If the first operand is false, the second operand won't even be evaluated ("short-circuiting").
logical or logical orSyntaxboolean1 or boolean2 DescriptionReturns false if both operands are false. If the first operand is true, the second operand won't even be evaluated ("short-circuiting").
logical not logical notSyntaxnot boolean DescriptionChanges true to false and false to true. |