MCPcopy Index your code
hub / github.com/nodejs/node / #detectRuntimeFeature

Method #detectRuntimeFeature

deps/undici/undici.js:6142–6146  ·  view source on GitHub ↗

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

(feature)

Source from the content-addressed store, hash-verified

6140 * @returns {boolean}
6141 */
6142 #detectRuntimeFeature(feature) {
6143 const result = detectRuntimeFeature(feature);
6144 this.#map.set(feature, result);
6145 return result;
6146 }
6147 };
6148 var instance = new RuntimeFeatures();
6149 module2.exports.runtimeFeatures = instance;

Callers 1

hasMethod · 0.45

Calls 2

detectRuntimeFeatureFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected