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

Predicate isAssignedToOrConcatenatedWith

Holds if n is assigned to, or concatenated with something with a name that matches regexp.

Import path

import semmle.javascript.heuristics.SyntacticHeuristics
predicate isAssignedToOrConcatenatedWith(Node n, string regexp)