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

Predicate AccessPath::isAssignedInUniqueFile

Holds if the global accessPath is only assigned to from one file, not counting self-assignments.

Import path

import javascript
predicate isAssignedInUniqueFile(string accessPath)