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

Member predicate API::Node::getReturn

Gets a node representing the result of the function represented by this node.

This predicate may have multiple results when there are multiple invocations of this API component. Consider using getACall() if there is a need to distinguish between individual calls.

Node getReturn()