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

def to_int(value, default=None, minimum=None, maximum=None):
    """
    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
    """
    return to_number(int, value, default=default, minimum=minimum, maximum=maximum)