Skip to content

map

map: (transform) => Function

Defined in: utils/iterables/map.js:27

Creates a map generator function.

Function

Sync or async transform (value, index, iterable) => newValue

Function

  • Generator function (iterable) => Generator|AsyncGenerator