Bitmap
GETBIT
Retrieve a single bit.
Arguments
keybodystrrequired
The key of the bitset
offsetbodyintrequired
Specify the offset at which to get the bit.
Response
intrequired
The bit value stored at offset.
Example
bit = redis.getbit(key, 4)Retrieve a single bit.
The key of the bitset
Specify the offset at which to get the bit.
The bit value stored at offset.
bit = redis.getbit(key, 4)