ID EN
Complex Math

isinf

Python 3.11

Return True if either the real or the imaginary part of x is an infinity, and False otherwise.

Syntax

PYTHON
cmath.isinf(x)