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

Method lodash_get

jlld.js:277–282  ·  view source on GitHub ↗
(t, s, e)

Source from the content-addressed store, hash-verified

275 }
276 }
277 lodash_get(t, s, e) {
278 const i = s.replace(/\[(\d+)\]/g, ".$1").split(".");
279 let o = t;
280 for (const t of i) if (((o = Object(o)[t]), void 0 === o)) return e;
281 return o;
282 }
283 lodash_set(t, s, e) {
284 return Object(t) !== t
285 ? t

Callers 1

getdataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected