isOdd property

bool? isOdd

Returns true if and only if this integer is odd.

Implementation

bool? get isOdd => value?.isOdd;