inline fun <reified R> toAssertionPlantNullable(crossinline assertionCreator: AssertionPlantNullable<R>.(T) -> Unit): <ERROR CLASS><AssertionPlantNullable<R>.() -> Unit, Array<AssertionPlantNullable<R>.() -> Unit>>
(source)
Maps each argument to an AssertionPlantNullable<R> lambda with receiver by using the given assertionCreator (passing in the argument).
Notice, a future version might constrain T with a lower bound Nothing?
.