OptionalFilter

constructor(nullResult: FilterResult<TResult>, filter: Filter<T, TResult>)(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