Function map
Applies a map function $f to each value in a collection.
Parameters summary
mixed |
$iterable |
Iterable sequence of data. |
callable |
$f |
Map function to apply. |
Return value summary
Generator
|
\Generator |