CodeQL library for JavaScript
Search

Predicate AccessPath::getAnAliasedSourceNode

Gets a SourceNode that refers to the same value or access path as the given node.

Import path

import javascript
SourceNode getAnAliasedSourceNode(Node node)