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

Member predicate NumericValue::getIntValue

Gets the integer-value if it is a constant integer, and it fits in a QL int

int getIntValue()