OptionalFilter

constructor(nullResult: <Error class: unknown class><TResult>, filter: <Error class: unknown class><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