combineFirstWithRest

abstract fun combineFirstWithRest(firstArgsGenerator: ArgsGenerator<*>, restMaybeArgGenerators: List<*>): ArgsGenerator<List<*>>(source)

Combines the firstArgsGenerator with the restMaybeArgGenerators into an ArgsGenerator which generates Lists containing the zipped values.

I.e. the first element of the resulting List is the value generated by the firstArgsGenerator, the second value is the value generated by the first element in restMaybeArgGenerators and so on.

Throws

The default implementation of Variist requires that: