doc / ch.tutteli.atrium.logic.utils / expectLambda

expectLambda

inline fun <T> expectLambda(noinline assertionCreator: Expect<T>.() -> Unit): Expect<T>.() -> Unit (source)

Can be used in places where a lambda with receiver is required where the receiver is of type Expect<T>.