bool isInfinite

True if the number is positive infinity or negative infinity; otherwise, false.

Source

bool get isInfinite;