Instance Method
exists(_:)
Checks the existence of the provided keys in the database.
func exists(_ keys: RedisKey...) async throws -> Int
Parameters
keysA list of keys whose existence will be checked for in the database.
Return Value
The number of provided keys which exist in the database.
Discussion
https://redis.io/commands/exists