isDouble property

bool get isDouble

Returns true if this number has a fractional part.

Implementation

bool get isDouble => this != truncate();