ID EN
Inspect

iscode

Python 3.11

Return True if the object is a code.

Syntax

PYTHON
inspect.iscode(object)