MCPcopy Create free account
hub / github.com/nodejs/node / has

Method has

deps/undici/undici.js:6125–6127  ·  view source on GitHub ↗

* @param {Feature} feature * @returns {boolean}

(feature)

Source from the content-addressed store, hash-verified

6123 * @returns {boolean}
6124 */
6125 has(feature) {
6126 return this.#map.get(feature) ?? this.#detectRuntimeFeature(feature);
6127 }
6128 /**
6129 * @param {Feature} feature
6130 * @param {boolean} value

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
#detectRuntimeFeatureMethod · 0.45

Tested by

no test coverage detected