isEven function

bool isEven(
  1. int n
)

Implementation

bool isEven(int n) => !isOdd(n);