The Xor function returns the logical exclusive OR of one or more expressions. The Xor operator requires two expressions.
Syntax
|
The Xor function returns the logical exclusive OR of one or more expressions. The Xor operator requires two expressions. |
|
expression1 Xor expression2 |
|
Arguments: |
|
|
expression1 |
Expression |
|
|
expression1 |
Expression |
Remarks
- Evaluates to true when if either expression is true, otherwise evaluates to false.
- If three or more values are passed, the result is true if exactly one of the values is true.
- Example: true Xor false returns true.
- Example: true Xor true returns false.
Comments
0 comments
Please sign in to leave a comment.