band
band(x_op1x_op2[x_op3... ] ) =>x_result
Description
Returns the integer result of the Boolean AND operation on each parallel pair of bits in each operand. Prefix form of the & bitwise operator.
Arguments
Value Returned
Examples
band(12 13)
=> 12
band(1 2 3 4 5)
=> 0
Related Topics
Return to top