binary_and()
Learn how to use the binary_and() function to compare bits in corresponding operands.
Returns a result of the bitwise AND operation between two values.
Syntax
binary_and(value1,value2)
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 logical AND operation on a pair of numbers: value1 & value2.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.