bits and
for bits
Performs bitwise and for integers.
Signature
> bits and (target)
Parameters
target
: target integer to perform bit and
Examples
Apply bits and to two numbers
> 2 | bits and 2
2
Apply logical and to a list of numbers
> [4 3 2] | bits and 2
╭───┬───╮
│ 0 │ 0 │
│ 1 │ 2 │
│ 2 │ 2 │
╰───┴───╯