Conditional Filter
constructor(check: (T) -> Boolean, falseResult: FilterResult<TResult>, filter: Filter<T, TResult>)(source)
Parameters
T
The type the given filter accepts
TResult
The type filter returns
check
The function to decide if the evaluation should be forwarded to filter or return falseResult
false Result
The result when the input is false
filter
The filter to evaluate