And Operator

  • Updated

Returns the logical AND of one or more expressions.

Syntax

 

Returns the logical AND of one or more expressions.

 

expression1 And expression2

 

 

Arguments:

 

 

 

expression1

Expression

 

 

expression1

Expression

Remarks

  • Evaluates to true if both expressions are true, otherwise evaluates to false.
  • expression1 is true and expression2 is true, result = true.
  • expression1 is false and expression2 is true, result = false.
  • expression1 is true and expression2 is false, result = false.
  • expression1 is false and expression2 is false, result = false.
  • Example: true and false returns false.
  • Example: true and true returns true.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.