Map

Back to Key Operations

Applies a function to each element of a collection, producing a new collection of the same size with transformed elements. Map preserves the structure of the collection while transforming its contents.

programming-paradigms functional map