Mexists
Bun

method

RedisClient.exists

key: KeyLike
): Promise<boolean>;

Determine if a key exists

@param key

The key to check

@returns

Promise that resolves with true if the key exists, false otherwise

Referenced types

type KeyLike = string | ArrayBufferView | Blob