doc / ch.tutteli.atrium.api.infix.en_GB / keyValues

keyValues

fun <K, V : Any> keyValues(keyValue: KeyWithValueCreator<K, V>, vararg otherKeyValues: KeyWithValueCreator<K, V>): KeyValues<K, V> (source)

Helper function to create a KeyValues based on the given keyValue and otherKeyValues -- allows to express Pair<K, V>, vararg Pair<K, V>.