OptionalFilter

public OptionalFilter<T, TResult> OptionalFilter<T extends Any, TResult extends Any>(FilterResult<TResult> nullResult, Filter<T, TResult> filter)(source)

Parameters

T

The type the given filter accepts

TResult

The type filter returns

nullResult

The result when the input is not present

filter

The filter to evaluate