Bitmap
GETBIT
Retrieve a single bit.
const bit = await redis.getbit(key, 4);
Arguments
key
string
requiredThe key of the bitset
offset
integer
requiredSpecify the offset at which to get the bit.
Response
The bit value stored at offset.
const bit = await redis.getbit(key, 4);