CodeQL library for Python
codeql/python-all 2.2.0 (changelog, source)
Search

Member predicate Name::defines

Whether this expression defines variable v If doing dataflow, then consider using SsaVariable.getDefinition() for more precision.

predicate defines(Variable v)