Skip to content

R.MIN / R64.MIN ​

Returns the smallest set bit.

SyntaxR.MIN key
64-bitR64.MIN key
Time complexityO(1)

Arguments ​

  • key — the bitmap key

Reply ​

Integer; −1 for a missing or empty bitmap.

Example ​

bash
127.0.0.1:6379> R.MIN k
(integer) 5