MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / isDescendent

Function isDescendent

ui/plugins/ui/jasmine/jasmine.js:2999–3007  ·  view source on GitHub ↗
(candidate, ancestor)

Source from the content-addressed store, hash-verified

2997 }
2998
2999 function isDescendent(candidate, ancestor) {
3000 if (!candidate.parentSuite) {
3001 return false
3002 } else if (candidate.parentSuite === ancestor) {
3003 return true
3004 } else {
3005 return isDescendent(candidate.parentSuite, ancestor)
3006 }
3007 }
3008
3009 return CompleteOnFirstErrorSkipPolicy
3010}

Callers 1

jasmine.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected