def is_digit(value: str) -> bool:
    """Return if ``value`` is number (decimal or whole)"""
    if value.count('.') == 1 and value.replace('.', '').isdigit() or value.isdigit():
        return True
    return False