isPositive property

bool get isPositive

Returns if the number is positive

Implementation

bool get isPositive => this > 0;