Map an enumerable
The map
function enumerates an enumerable while applying a transform function and collects the results into a list. Enum.map
can be used to map a list, map a map, or map any enumerable.
Documentation: Enum.map/2
The map
function enumerates an enumerable while applying a transform function and collects the results into a list. Enum.map
can be used to map a list, map a map, or map any enumerable.
Documentation: Enum.map/2