fun <K, V : Any> keyValue(key: K, valueAssertionCreatorOrNull: (Expect<V>.() -> Unit)?): KeyWithValueCreator<K, V>
(source)
Helper function to create a KeyWithValueCreator based on the given key and valueAssertionCreatorOrNull
-- allows to express Pair<K, V>, vararg Pair<K, V>
.