* Select the labeled elements in the path * @param pathLabels The labels to select.
(...pathLabels: TPathLabels)
| 2215 | * @param pathLabels The labels to select. |
| 2216 | */ |
| 2217 | public select< |
| 2218 | const TPathLabels extends readonly (string & GetTraversalPathLabelModifiers<TPath>)[], |
| 2219 | >(...pathLabels: TPathLabels) { |
| 2220 | return new ValueTraversal<TSchema, ResolveTraversalPathLabelModifiers<TPath, TPathLabels>>( |
| 2221 | this.graph, |
| 2222 | [ |
| 2223 | ...this.steps, |
| 2224 | new SelectStep({ |
| 2225 | pathLabels, |
| 2226 | }), |
| 2227 | ], |
| 2228 | ); |
| 2229 | } |
| 2230 | |
| 2231 | /** |
| 2232 | * Get the values of the elements in the traversal. |
no outgoing calls
no test coverage detected