Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

binary_and()

Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel

Performs a bitwise AND operation on two values.

Syntax

binary_and(value1,value2)

Learn more about syntax conventions.

Parameters

Name Type Required Description
value1 long ✔️ The left-hand value of the bitwise AND operation.
value2 long ✔️ The right-hand value of the bitwise AND operation.

Returns

Returns the result of a bitwise AND operation between value1 and value2.

Examples

print result = binary_and(6, 3)

Output:

2

Feedback

Was this page helpful?

Additional resources