checkValid method

bool checkValid(
  1. int fps
)

Implementation

bool checkValid(int fps) {
  return fps >= 0 && fps < 500;
}