MCPcopy
hub / github.com/philc/vimium / has

Method has

lib/utils.js:335–338  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

333 }
334
335 has(key) {
336 this.rotate();
337 return (key in this.cache) || key in this.previous;
338 }
339
340 // Set value, and return that value. If value is null, then delete key.
341 set(key, value = null) {

Callers 5

loadFromStorageMethod · 0.80
lookupEngineFunction · 0.80
completeFunction · 0.80
removeDuplicateCharsFunction · 0.80
isUrlFunction · 0.80

Calls 1

rotateMethod · 0.95

Tested by

no test coverage detected