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

Predicate isType

Holds if the object t is a type.

Import path

import semmle.python.objects.TObject
predicate isType(ObjectInternal t)