- bit-set? index iprocedure
Is bit index set in bitstring i (where index is a non-negative exact integer)?
Compatibility note: The R6RS analogue bitwise-bit-set? accepts its arguments in the opposite order.
(bit-set? 1 1) => false (bit-set? 0 1) => true (bit-set? 3 10) => true (bit-set? 1000000 -1) => true (bit-set? 2 6) => true (bit-set? 0 6) => false