MCPcopy Index your code
hub / github.com/nodejs/node / set

Method set

deps/undici/undici.js:6132–6137  ·  view source on GitHub ↗

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

(feature, value)

Source from the content-addressed store, hash-verified

6130 * @param {boolean} value
6131 */
6132 set(feature, value) {
6133 if (runtimeFeaturesAsNodeModule.includes(feature) === false) {
6134 throw new TypeError(`unknown feature: ${feature}`);
6135 }
6136 this.#map.set(feature, value);
6137 }
6138 /**
6139 * @param {Feature} feature
6140 * @returns {boolean}

Callers 15

setMethod · 0.45
buildConnectorFunction · 0.45
parseMIMETypeFunction · 0.45
appendFetchMetadataFunction · 0.45
extractMimeTypeFunction · 0.45
#detectRuntimeFeatureMethod · 0.45
executeMethod · 0.45
[kDispatch]Method · 0.45
appendMethod · 0.45
setMethod · 0.45
setMethod · 0.45

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected