* @see https://w3c.github.io/ServiceWorker/#cache-storage-keys * @returns {Promise }
()
| 16420 | return __async(this, arguments, function* (cacheName) { |
| 16421 | webidl.brandCheck(this, _CacheStorage); |
| 16422 | const prefix = "CacheStorage.has"; |
| 16423 | webidl.argumentLengthCheck(arguments, 1, prefix); |
| 16424 | cacheName = webidl.converters.DOMString(cacheName, prefix, "cacheName"); |
| 16425 | return __privateGet(this, _caches).has(cacheName); |
| 16426 | }); |
| 16427 | } |
| 16428 | /** |
| 16429 | * @see https://w3c.github.io/ServiceWorker/#dom-cachestorage-open |
| 16430 | * @param {string} cacheName |
| 16431 | * @returns {Promise<Cache>} |
nothing calls this directly
no test coverage detected