isPositive property

bool get isPositive

Returns true if the number is positive, false otherwise.

Implementation

bool get isPositive => this > 0;