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

Member predicate Function::isProcedure

Whether this function is a procedure, that is, it has no explicit return statement and always returns None. Note that generator and async functions are not procedures as they return generators and coroutines respectively.

predicate isProcedure()