isValidNumber static method

bool isValidNumber(
  1. int number
)

Return true if number is valid

Implementation

static bool isValidNumber(int number) {
  return number > 0;
}