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

Predicate isArgTo

Holds if arg is an argument to a callee with a name that matches regexp.

Import path

import semmle.javascript.heuristics.SyntacticHeuristics
predicate isArgTo(Node arg, string regexp)