isDouble property

bool get isDouble

Returns true if the number is a double, false otherwise.

Implementation

bool get isDouble => this == toDouble();