isNaN property

bool isNaN

Tests if this fraction is not defined.

Implementation

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