MCPcopy Index your code
hub / github.com/trekhleb/javascript-algorithms / has

Method has

src/data-structures/hash-table/HashTable.js:98–100  ·  view source on GitHub ↗

* @param {string} key * @return {boolean}

(key)

Source from the content-addressed store, hash-verified

96 * @return {boolean}
97 */
98 has(key) {
99 return Object.hasOwnProperty.call(this.keys, key);
100 }
101
102 /**
103 * @return {string[]}

Callers 5

getMethod · 0.80
HashTable.test.jsFile · 0.80
addChildMethod · 0.80
hasChildMethod · 0.80
isValidFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected