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

Method lodash_get

ruilanCar.js:215–220  ·  view source on GitHub ↗
(t, s, e)

Source from the content-addressed store, hash-verified

213 }
214 }
215 lodash_get(t, s, e) {
216 const i = s.replace(/\[(\d+)\]/g, ".$1").split(".");
217 let o = t;
218 for (const t of i) if (((o = Object(o)[t]), void 0 === o)) return e;
219 return o;
220 }
221 lodash_set(t, s, e) {
222 return Object(t) !== t
223 ? t

Callers 1

getdataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected