doc / ch.tutteli.atrium.api.cc.de_CH / KeyNullableValue

KeyNullableValue

data class KeyNullableValue<out K, V : Any>
Deprecated: Use KeyValue instead, it was opened up to `(Assert<V>.() -> Unit)?` in 0.8.0; will be removed with 1.0.0

Constructors

<init>

KeyNullableValue(key: K, valueAssertionCreatorOrNull: (Assert<V>.() -> Unit)?)

Properties

key

val key: K

valueAssertionCreatorOrNull

val valueAssertionCreatorOrNull: (Assert<V>.() -> Unit)?

Functions

toPair

fun toPair(): Pair<K, (Assert<V>.() -> Unit)?>

toString

fun toString(): String