ioredis get code example
Example: ioredis exists
redis.exists(roomID).then((exists) => {
if (exists === 1) console.log("Exists");
else console.log("Does not exist");
});
redis.exists(roomID).then((exists) => {
if (exists === 1) console.log("Exists");
else console.log("Does not exist");
});