MCPcopy Create free account
hub / github.com/npm/cli / delete

Method delete

lib/utils/queryable.js:275–281  ·  view source on GitHub ↗
(query)

Source from the content-addressed store, hash-verified

273
274 // deletes the value of the property found at `query`
275 delete (query) {
276 setter({
277 data: this.#data,
278 key: query,
279 value: _delete,
280 })
281 }
282
283 toJSON () {
284 return this.#data

Callers 3

deleteMethod · 0.95
TimersClass · 0.45
explainFromFunction · 0.45

Calls 1

setterFunction · 0.85

Tested by

no test coverage detected