gradle
8.3

# collect

open fun <R, I> collect(list: Array<I>, transformer: Transformer<out R, out Any>): List<R>
open fun <R, I> collect(set: Set<out I>, transformer: Transformer<out R, out Any>): Set<R>
open fun <R, I> collect(source: Iterable<out I>, transformer: Transformer<out R, out Any>): List<R>
open fun <R, I, C : Collection<R>?> collect(source: Iterable<out I>, destination: C, transformer: Transformer<out R, out Any>): C