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

Predicate StringConcatenation :: isRoot

Holds if node is the root of a concatenation tree, that is, it is a concatenation operator that is not itself the immediate operand to another concatenation operator.

Import path

import javascript
predicate isRoot ( Node node )