public bool isValid;

Description 描述

Whether the rational number is valid.

A valid rational has a non-zero denominator.