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

Predicate isStartOfCallPath

Holds if invoke should be used as the starting point of a call path.

Import path

import semmle.javascript.explore.CallGraph
predicate isStartOfCallPath(InvokeNode invoke)