CodeQL library for JavaScript
Search

Predicate AccessPath::getAReferenceOrAssignmentTo

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

See getAReferenceTo and getAnAssignmentTo for more details.

Import path

import javascript
Node getAReferenceOrAssignmentTo(Root root, string path)