math.isinf
Syntax
Returns true if f is the special floating pointe value infinite (Positive or negative).
b - true if f is Inf.
f - a floating point value
9.0.182