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

Method set

deps/npm/lib/utils/queryable.js:265–272  ·  view source on GitHub ↗
(query, value, { force } = {})

Source from the content-addressed store, hash-verified

263
264 // creates objects along the way for the provided `query` parameter and assigns `value` to the last property of the query chain
265 set (query, value, { force } = {}) {
266 setter({
267 data: this.#data,
268 key: query,
269 value,
270 force,
271 })
272 }
273
274 // deletes the value of the property found at `query`
275 delete (query) {

Callers 8

setMethod · 0.95
getWorkspacesFunction · 0.45
cyclonedxOutputFunction · 0.45
TimersClass · 0.45
spdxOutputFunction · 0.45
oidcFunction · 0.45
pendingSummaryMethod · 0.45
setKeysMethod · 0.45

Calls 1

setterFunction · 0.70

Tested by

no test coverage detected