doc / ch.tutteli.atrium.api.infix.en_GB.creating / IndexWithCreator

IndexWithCreator

data class IndexWithCreator<E> (source)

Parameter object which combines an index of type Int with an assertionCreator which defines assertions for a resulting feature of type E.

Use the function index(Int) { ... } to create this representation.

Since
0.12.0

Properties

assertionCreator

val assertionCreator: Expect<E>.() -> Unit

index

val index: Int