CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.0.1-dev (changelog, source)
Search

Predicate API::Impl::distanceFromRoot

Gets the shortest distance from the root to nd in the API graph.

Import path

import javascript
int distanceFromRoot(TApiNode nd)