MCPcopy Create free account
hub / github.com/dataease/SQLBot / pointToAncestor

Function pointToAncestor

frontend/public/swagger-ui-bundle.js:40909–40914  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

40907 o.path.reduce((s, o) => (i.push(s[o]), s[o]), s),
40908 pointToAncestor(o.value)
40909 )
40910 function pointToAncestor(s) {
40911 return (
40912 Wo.isObject(s) &&
40913 (i.indexOf(s) >= 0 || Object.keys(s).some((o) => pointToAncestor(s[o])))
40914 )
40915 }
40916 })(a.state, V) ||
40917 u.useCircularStructures

Callers 1

Calls 3

isObjectMethod · 0.45
someMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected