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