CodeQL library for JavaScript
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)