def boolify(value: Var):
    """Convert the value to a boolean.

    Args:
        value: The value.

    Returns:
        The boolean value.
    """
    return var_operation_return(
        js_expression=f"isTrue({value})",
        var_type=bool,
        var_data=VarData(imports=_IS_TRUE_IMPORT),
    )
Convert the value to a boolean.

    Args:
        value: The value.

    Returns:
        The boolean value.
    
reflex/vars/number.py