isInfinite property

bool isInfinite

Tests if this fraction is infinite.

Implementation

bool get isInfinite => a != 0 && b == 0;