inline fun <reified T> CharSequenceContains.CheckerStepLogic<*, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>
(source)inline fun <reified T> CharSequenceContains.EntryPointStepLogic<*, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>
(source)inline fun <reified T> IterableLikeContains.CheckerStepLogic<*, *, *>.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
.
IllegalArgumentException
- in case the iterableLike is empty.
Since
0.14.0
inline fun <reified 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
.
IllegalArgumentException
- in case the iterableLike is empty.
Since
0.14.0