await redis.bitpos("key", 1);
Find the position of the first set or clear bit (bit with a value of 1 or 0) in a Redis string key.
Was this page helpful?