* Checks if a key exists in the cache. * This is a pure query operation - does NOT update LRU order. * * Time Complexity: O(1)
(key: string)
| 169 | * Time Complexity: O(1) |
| 170 | */ |
| 171 | public has(key: string): boolean { |
| 172 | return this.cache.has(key) |
| 173 | } |
| 174 | |
| 175 | /** |
| 176 | * Retrieves a value by key and marks it as most recently used. |
no outgoing calls
no test coverage detected