isInfinity
isInfinity(): Boolean;
The isInfinity method of the Real primitive type returns true if the value returned by the getFloatingPointClassification method is the constant FP_Classification_PosInfinity, which represents the special positive infinity value.
See also the infinity method.