Mget
Bun

method

RedisClient.get

key: KeyLike
): Promise<null | string>;

Get the value of a key

@param key

The key to get

@returns

Promise that resolves with the key's value as a string, or null if the key doesn't exist

Referenced types

type KeyLike = string | ArrayBufferView | Blob