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

Predicate Flow::ConsistencyChecks::uniqueWriteTarget

Holds if a captured-variable write does not have exactly one target variable, as described by msg.

Import path

import codeql.dataflow.VariableCapture
predicate uniqueWriteTarget(string msg)