MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / unset

Method unset

daily/ydyp.js:237–240  ·  view source on GitHub ↗
(e = {}, t = "")

Source from the content-addressed store, hash-verified

235 return e.replace(/&|<|>|"|'/g, e => t[e])
236 }
237 static unset(e = {}, t = "") {
238 Array.isArray(t) || (t = r.toPath(t));
239 return t.reduce((e, r, o) => o === t.length - 1 ? (delete e[r], !0) : Object(e)[r], e)
240 }
241}(() => {
242 switch (t.debug("☑️ $argument"), typeof globalThis.$argument) {
243 case "string": {

Callers 2

omitMethod · 0.80
removeItemMethod · 0.80

Calls 1

toPathMethod · 0.80

Tested by

no test coverage detected