CodeQL library for Python
codeql/python-all 1.0.3-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()