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

Member predicate Scope :: isTopLevel

Holds if this a top-level (non-nested) class or function

predicate isTopLevel ( )