euporie.core.widgets.formatted_text_area.to_filter

euporie.core.widgets.formatted_text_area.to_filter(bool_or_filter: Union[Filter, bool]) Filter

Accept both booleans and Filters as input and turn it into a Filter.