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

Primitive predicate string::isUppercase

Holds when the receiver contains no lower-case letters. This includes the case where the receiver contains no letters at all, for example, if it’s an empty string or only consists of non-letter symbols.

predicate isUppercase()