Description

Map func(func(A) C, []A) []C Applies the given iterator function to each element of a collection (slice or map) and returns a new slice of the computed results. If the collection is a Slice, the iterator function arguments are *value, index* If the collection is a Map, the iterator function arguments are *value, key* Iterator functions accept a value, and the index or key is an optional argument.

Map is referenced in 1 repository

github.com/tobyhede/go-underscore