codeql/javascript-all
2.0.1-dev
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
Gets the shortest distance from the root to nd in the API graph.
nd
import javascript
int distanceFromRoot(TApiNode nd)