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

Method lodash_get

wxapp/miaoyouHome.js:212–217  ·  view source on GitHub ↗
(t, s, e)

Source from the content-addressed store, hash-verified

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

Callers 1

getdataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected