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.
Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Performs a bitwise or operation on two values.
Syntax
binary_or(value1, value2 )
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| value1 | long |
✔️ | The left-hand value of the bitwise OR operation. |
| value2 | long |
✔️ | The right-hand value of the bitwise OR operation. |
Returns
Returns logical OR operation on a pair of numbers: value1 | value2.
Examples
print result = binary_or(5, 3)
Output
| result |
|---|
| 7 |