band(a, b)
Return the bitwise and of the integers a and b.
and
a
b
The inputs are treated as if represented in two's complement, even if they are not represented that way internally.
band(0b01101, 0b00111) // 5
Core Module Index | Contents