ConditionalFilter

public ConditionalFilter<TInput, TResult> ConditionalFilter<TInput extends Any, TResult extends Any>(Function1<TInput, Boolean> check, TResult falseResult, IFilter<TInput, TResult> filter)(source)

Parameters

TInput

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

falseResult

The result when the input is false

filter

The filter to evaluate