kevy

BITPOS

Return the position of the first bit set to 0 or 1.

SyntaxBITPOS key bit [start [end]]
Groupstring
Arity-3
Since1.0.0
Flagsreadonly
ComplexityO(N) over the scanned bytes
Redis compatibilitydiffers: the BYTE / BIT unit argument of Redis 7.0 is not accepted — ranges are byte offsets

← All commands