class ArgumentMapperBuilder<out T>
Builder to map variable length arguments formulated as (first: T, vararg
others : T) to something else.
ArgumentMapperBuilder(first: T, others: Array<out T>)
Builder to map variable length arguments formulated as (first: T, |
val first: T |
|
val others: Array<out T> |
fun <R> to(mapper: (T) -> R): Pair<R, Array<out R>>
Maps each argument to the given type R by using the given mapper |
|
fun <R : Any>
Maps each argument to an Assert<R> lambda with receiver using the given assertionCreator (passing in the argument). |
|
fun <R>
Maps each argument to an AssertionPlantNullable<R> lambda with receiver by using the given assertionCreator (passing in the argument). |
|
fun <R> toExpect(assertionCreator: Expect<R>.(T) -> Unit): Pair<Expect<R>.() -> Unit, Array<Expect<R>.() -> Unit>>
Maps each argument to an Expect<R> lambda with receiver using the given assertionCreator (passing in the argument). |
fun <T : Any> ArgumentMapperBuilder<T?>.toNullOr(): ArgumentToNullOrMapperBuilder<T>
Maps each argument to |