isInfinite property

bool get isInfinite

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

Implementation

bool get isInfinite => value.isInfinite;