* The depth of the path. * The depth is the number of nodes in the path. * This value is cached at construction time for O(1) access.
()
| 97 | * This value is cached at construction time for O(1) access. |
| 98 | */ |
| 99 | public get depth(): number { |
| 100 | return this.#depth; |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Create a new path with the value and labels added. |
nothing calls this directly
no outgoing calls
no test coverage detected