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

KeyNullableValue

data class KeyNullableValue<out K, V : Any> (source)
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(): <ERROR CLASS><K, Assert<V>.() -> Unit>

toString

fun toString(): String