ID EN
Inspect

isgenerator

Python 3.11

Return True if the object is a generator.

Syntax

PYTHON
inspect.isgenerator(object)