toVarArgPairs
fun <K, V> MapLikeContains.EntryPointStepLogic<*, *, *, *>.toVarArgPairs(mapLike: MapLike): Pair<Pair<K, V>, Array<out Pair<K, V>>>(source)
Transforms the given MapLike to Pair<Pair<K, V>, Array<out Pair<K, V>>>
with the intention that it can be easily used for a function requiring Pair<K, V>, vararg Pair<K, V>
.
Since
0.15.0
Throws
in case the mapLike is empty.