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

Predicate Flow::ConsistencyChecks::uniqueReadVariable

Holds if variable read vr does not have exactly one source variable, as described by msg.

Import path

import codeql.dataflow.VariableCapture
predicate uniqueReadVariable(VariableRead vr, string msg)