webshrine / stdlib/src / map
Function: map()
map(
collection
,cb
):any
[] |Record
<CollectionKey
,any
>
Maps over a collection.
Parameters
collection
cb
FnTransformIterate
<any
, CollectionKey
>
Returns
any
[] | Record
<CollectionKey
, any
>