export function isRedis() {
    return !!getRedisUrl();
}
export function getRedisUrl() {
    return process.env.REDIS_URL;
}
export function getRedisPrefix(name, options) {
    return `${name}::${options?.prefix ?? ""}`;
}
export function getRedisPrefixedKey(name, key, options) {
    return `${getRedisPrefix(name, options)}${key}`;
}
//# sourceMappingURL=redis-client-helpers.js.map