* Checks if a key exists in the cache. * * @param key - The cache key * @returns True if the key exists
(key: string)
| 55 | * @returns True if the key exists |
| 56 | */ |
| 57 | has(key: string): boolean { |
| 58 | return this.cache.has(key) |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Clears all cached values. |
no outgoing calls