MCPcopy
hub / github.com/webpack/webpack / has

Method has

lib/util/runtime.js:715–717  ·  view source on GitHub ↗

* Returns true, when the runtime exists. * @param {RuntimeSpec} runtime runtime * @returns {boolean} true, when the runtime exists

(runtime)

Source from the content-addressed store, hash-verified

713 * @returns {boolean} true, when the runtime exists
714 */
715 has(runtime) {
716 return this._map.has(getRuntimeKey(runtime));
717 }
718
719 /**
720 * Returns iterable iterator.

Callers

nothing calls this directly

Calls 2

getRuntimeKeyFunction · 0.85
hasMethod · 0.45

Tested by

no test coverage detected