mapConvertsTo
fun <F, T, T2> ConvertsTo<F, List<T>>.mapConvertsTo(elementConverter: ConvertsTo<T, T2>): ConvertsTo<F, List<T2>>
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 type of this converter
T
The target element type of this converter and the source type of the given elementConverter
T2
The target type of the given elementConverter
elementConverter
The element converter to chain together with this list converter. Note that the source type of the given elementConverter must be the same as the target element type of this converter.