NullGuardFilter

constructor(nullResult: FilterResult<TResult>, filter: Filter<T, TResult>)(source)

Parameters

T

The type the given filter accepts. This filter accepts its nullable form

TResult

The type filter returns

nullResult

The result when the input is null

filter

The filter to evaluate