method RedisStore.prototype.has
RedisStore.prototype.has(key: string): Promise<boolean>

Check existence. The key is already-prefixed by CacheService.

Parameters

key: string

Already-prefixed cache key

Return Type

Promise<boolean>

true if present and unexpired

Usage

import { RedisStore } from "cache-plugin/src/index.ts";