Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Performs a bitwise xor operation on two values.
Syntax
binary_xor(value1,value2)
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| value1 | int |
✔️ | The left-side value of the XOR operation. |
| value2 | int |
✔️ | The right-side value of the XOR operation. |
Returns
Returns logical XOR operation on a pair of numbers: value1 ^ value2.
Examples
binary_xor(1,1)
Output
| Result |
|---|
| 0 |
binary_xor(1,2)
Output
| Result |
|---|
| 3 |