isNaN property

bool get isNaN

Tests if this fraction is not defined.

Implementation

bool get isNaN => a == 0 && b == 0;