Returns the logical AND of one or more expressions.
Syntax
|
Returns the logical AND of one or more expressions. |
|
And(value1, value2, ...) |
|
Arguments: |
|
|
value |
Boolean - A list of one or more Boolean expressions to AND. |
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: And(10=10, 20=21) returns false.
- Example: And(10=10, 20=20, 30=30, 40=40) returns true.
Comments
0 comments
Article is closed for comments.