input: Write a function that takes two numbers as input and generates a random number between them. The function should use Python's `random.randint` method to generate the random number. The function should return the generated random number. If either of the input numbers is not an integer, raise a ValueError.
  
  def random_number_generator(min, max):
      if not isinstance(min, int) or not isinstance(max, int):
          raise ValueError("Both inputs must be integers")
      return random.randint(min, max)
output: def random_number_generator(min, max):
      if not isinstance(min, int) or not isinstance(max, int):
          raise ValueError("Both inputs must be integers")
      return random.randint(min, max)