Frontmatter
| id | 8819 |
| title | feat: Add hasParent and getDistance to ComponentManager |
| state | Closed |
| labels | enhancementaicore |
| assignees | tobiu |
| createdAt | Jan 20, 2026, 1:21 AM |
| updatedAt | Jan 20, 2026, 1:22 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8819 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 20, 2026, 1:22 AM |
Porting useful helper methods from
feat/8814-race-conditionto thedevbranch.Added methods to
Neo.manager.Component:hasParent(childId, parentId): Boolean check if a component is a descendant of another.getDistance(childId, parentId): Returns the generational distance (1-based) between child and parent.