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>
.
IllegalArgumentException
- in case the mapLike is empty.
Since
0.15.0