Pre Processor Filter
class PreProcessorFilter<TSource, TFilter, TResult>(transform: (TSource) -> TFilter, filter: Filter<TFilter, TResult>) : Filter<TSource, TResult> , Iterable<Filter<TFilter, TResult>> (source)
A pre-processor filter, which applies a transform to the value before evaluating the sub-filter on it. For more advanced control over invoking filter, please use an arrow function.
Parameters
TSource
The type this filter accepts
TFilter
The type the other filter accepts
TResult
the type the filter returns
transform
The transform to apply to the value in evaluate before evaluating filter
filter
The sub-filter to evaluate