code: def to_int(value, default=None, minimum=None, maximum=None):
      
      return to_number(int, value, default=default, minimum=minimum, maximum=maximum)
docs: Args:
          value: Value to convert
          default (int | None): Default to use `value` can't be turned into an int
          minimum (int | None): If specified, result can't be below this minimum
          maximum (int | None): If specified, result can't be above this maximum
  
      Returns:
          (int | None): Corresponding numeric value