Mgetbit
Bun

method

RedisClient.getbit

key: KeyLike,
offset: number
): Promise<number>;

Returns the bit value at offset in the string value stored at key

@param key

The key containing the string value

@param offset

The bit offset (zero-based)

@returns

Promise that resolves with the bit value (0 or 1) at the specified offset

Referenced types

type KeyLike = string | ArrayBufferView | Blob