isInfinite property Null safety

bool isInfinite

Whether this number is positive infinity or negative infinity.

Only satisfied by double.infinity and double.negativeInfinity.

All numbers satisfy exacly one of of isInfinite, isFinite and isNaN.

Implementation

bool get isInfinite;