Boolean Operators: Connect Two Boolean Expressions into One Expression
Boolean Operators: Connect Two Boolean Expressions into One Expression
AND and OR operators are useful when you want to connect two Boolean expressions into one expression. The code above shows the difference between using | (or) and using & (and).