MapToList<T> extension

on

Methods

mapList<E>(E toElement(T element)) List<E>

Available on Iterable<T>, provided by the MapToList extension

Maps each element of the iterable to a new form using the provided toElement function and returns the results as a list.