mapConvertsFrom

fun <F, F2, T> ConvertsFrom<List<F>, T>.mapConvertsFrom(elementConverter: ConvertsFrom<F2, F>): ConvertsFrom<List<F2>, T>

Chains this list converter with an element converter, yielding a new converter which performs a two-stage mapping conversion. (Note that these two "stages" are conceptual. Each of these stages may consist of multiple logical steps in their actual implementation.)

Parameters

F

The source element type of this converter and the target type of the given elementConverter

F2

The source type of the given elementConverter

T

The target type of this converter

elementConverter

The element converter to chain together with this list converter. Note that the target type of the given elementConverter must be the same as the source element type of this converter.