isValidID method

bool isValidID(
  1. dynamic id
)

Implementation

bool isValidID(id) {
  return (isInteger(id) && id >= 0 && id <= 959);
}