ID EN
Inspect

isroutine

Python 3.11

Return True if the object is a user-defined or built-in function or method.

Syntax

PYTHON
inspect.isroutine(object)