Set a single bit in a string.
const originalBit = await redis.setbit(key, 4, 1);
The key of the bitset
Specify the offset at which to set the bit.
The bit to set
The original bit value stored at offset.
Was this page helpful?