isEven function

bool isEven(
  1. int a
)

Check if a is an Even number.

Implementation

bool isEven(int a) => a % 2 == 0;