CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.1.2-dev (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)