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

Member predicate ParameterPosition::isSelf

Holds if this position represents a self/cls parameter.

predicate isSelf()