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

Predicate AccessPath::getAReferenceOrAssignmentTo

Gets a node that refers to or is assigned to the given global access path.

See getAReferenceTo and getAnAssignmentTo for more details.

Import path

import javascript
Node getAReferenceOrAssignmentTo(string path)