isOdd function

bool isOdd(
  1. int n
)

Implementation

bool isOdd(int n) => n % 2 != 0;