doc / ch.tutteli.atrium.api.cc.infix.en_GB / KeyValue / <init>

<init>

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 null.