isInfinite x
This function returns true when x is an infinite number.
i1 : isInfinite toPython infinity o1 = true
i2 : isInfinite toPython 3 o2 = false
The source of this document is in Python/doc/floating-point.m2:180:0.