logand

(logand number1 number2 ...)

The logand function returns the result of a logical bitwise AND on the integer values supplied as arguments to the function.

Examples

: (logand 9 1)

1

: (logand 15 4 1)

0

: (logand 15 2 6)

2