isNegative property

bool get isNegative

Returns true if the number is negative.

Implementation

bool get isNegative => this != null && this! < 0;