()
| 496 | */ |
| 497 | @computed |
| 498 | get isLinked() { |
| 499 | let current: Node | null = this |
| 500 | |
| 501 | while (current) { |
| 502 | if (current.isRoot) { |
| 503 | return true |
| 504 | } |
| 505 | current = current.parent |
| 506 | } |
| 507 | |
| 508 | return false |
| 509 | } |
| 510 | |
| 511 | /** |
| 512 | * insert a node at a specific position or a reference node |
nothing calls this directly
no outgoing calls
no test coverage detected