Filter_Condition.to_predicate
to_predicate
Documentation
Converts a Filter_Condition
condition into a predicate taking an element and returning a value indicating whether the element should be accepted by the filter. The predicate can handle Nothing
values in all cases. However, the predicate will raise an error if the value is not of the expected type.