MCPcopy
hub / github.com/webpack/webpack / get

Method get

lib/util/comparators.js:400–406  ·  lib/util/comparators.js::TwoKeyWeakMap.get

* Returns value. * @param {K1} key1 first key * @param {K2} key2 second key * @returns {T | undefined} value

(key1, key2)

Source from the content-addressed store, hash-verified

398 * @returns {T | undefined} value
399 */
400 get(key1, key2) {
401 const childMap = this._map.get(key1);
402 if (childMap === undefined) {
403 return;
404 }
405 return childMap.get(key2);
406 }
407
408 /**
409 * Updates value using the provided key1.

Callers 7

compareIterablesFunction · 0.45
setMethod · 0.45
concatComparatorsFunction · 0.45
compareSelectFunction · 0.45
keepOriginalOrderFunction · 0.45
sortWithSourceOrderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected