Conditional logical AND operator and
The conditional logical AND operator and returns true if both the left-hand operand and the right-hand operand evaluate to true; otherwise, it returns false.
Examples
true and falsereturns false.false and falsereturns false.false and truereturns false.true and truereturns true.