Skip to content

Home / node / Commands / enumerations / BitmapIndexType @valkey/valkey-glide


@valkey/valkey-glide / Commands / BitmapIndexType

Enumeration: BitmapIndexType

Enumeration specifying if index arguments are BYTE indexes or BIT indexes. Can be specified in BitOffsetOptions, which is an optional argument to the bitcount command. Can also be specified as an optional argument to the BaseClient.bitposInverval|bitposInterval command.

since - Valkey version 7.0.0.

Enumeration Members

BIT

BIT: "BIT"

Specifies that provided indexes are bit indexes.


BYTE

BYTE: "BYTE"

Specifies that provided indexes are byte indexes.