doc / ch.tutteli.atrium.logic.utils / ArgumentToNullOrMapperBuilder / <init>

<init>

ArgumentToNullOrMapperBuilder(argumentMapperBuilder: ArgumentMapperBuilder<T?>)

Builder to map variable length arguments formulated as (first: T, vararg others : T) to something else.

Its usage is intended to turn the nullable argument type of the given argumentMapperBuilder into its non-nullable type if the argument is not null in order that the non-nullable type can be used/passed to function which expect a non-nullable type.