* Checks if a key exists in cache (without updating access stats)
(key: string)
| 110 | * Checks if a key exists in cache (without updating access stats) |
| 111 | */ |
| 112 | has(key: string): boolean { |
| 113 | const entry = this.cache.get(key); |
| 114 | return entry !== undefined && !this.isExpired(entry); |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Deletes a specific key from cache |
no test coverage detected