toVarArg
inline fun <T> CharSequenceContains.CheckerStepLogic<*, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>(source)
inline fun <T> CharSequenceContains.EntryPointStepLogic<*, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>(source)
inline fun <T> IterableLikeContains.CheckerStepLogic<*, *, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>(source)
inline fun <T> IterableLikeContains.EntryPointStepLogic<*, *, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>(source)
Transforms the given iterableLike to Pair<T, Array<out T>>
with the intention that it can be easily used for a function requiring T, vararg T
.
Since
0.14.0
Throws
in case the iterableLike is empty.