MCPcopy Index your code
hub / github.com/dataease/SQLBot / getIngredientWithProp

Function getIngredientWithProp

frontend/public/swagger-ui-bundle.js:45791–45804  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

45789 return ((_.constructor = o), _)
45790 },
45791 unique = (s) => s.filter((o, i) => s.indexOf(o) == i),
45792 getIngredientWithProp = (s, o) => {
45793 const i = o.map((s) => protoChain(s))
45794 let a = 0,
45795 u = !0
45796 for (; u; ) {
45797 u = !1
45798 for (let _ = o.length - 1; _ >= 0; _--) {
45799 const o = i[_][a]
45800 if (null != o && ((u = !0), null != Object.getOwnPropertyDescriptor(o, s)))
45801 return i[_][0]
45802 }
45803 a++
45804 }
45805 },
45806 proxyMix = (s, o = Object.prototype) =>
45807 new Proxy(

Callers 2

proxyMixFunction · 0.85
setFunction · 0.85

Calls 2

protoChainFunction · 0.85
mapMethod · 0.45

Tested by

no test coverage detected