data class KeyValue<out K, V : Any>
(source)
Parameter object to express a key/value Pair whose value type is a lambda with an
Assert receiver, which means one can either pass a lambda or null
.
KeyValue(key: K, valueAssertionCreatorOrNull: (Assert<V>.() -> Unit)?)
Parameter object to express a key/value Pair whose value type is a lambda with an
Assert receiver, which means one can either pass a lambda or |
val key: K |
|
val valueAssertionCreatorOrNull: (Assert<V>.() -> Unit)? |
fun toPair(): Pair<K, (Assert<V>.() -> Unit)?> |
|
fun toString(): String |