doc / ch.tutteli.atrium.domain.builders.utils / toVarArg

toVarArg

inline fun <reified T> toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>
Deprecated: Use toVarArg from atrium-logic; will be removed with 1.0.0

Transforms the given IterableLike to Pair<T, Array<out T>> with the intend that it can be easily used for a function requiring T, vararg T

Exceptions

IllegalArgumentException - in case the iterable is empty.