from typing import Callable


def bin_search_min(func: Callable) -> int:
    """Finds the minimum value where the function returns True

    Args:
        func (Callable): The function to test

    Returns:
        int: The minimum value where the function returns True
    """

    i, j = -10, -10
    while func(i):
        i *= 10
    i //= 10
    j = i
    while j != 0:
        if func(i):
            i += j
        else:
            i -= j
            j = -(-j // 10)
    return i