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

Member predicate ParameterPosition::isSelf

Holds if this position represents a self/cls parameter.

predicate isSelf()