@extra-array/map.min
TypeScript icon, indicating that this package has built-in type declarations

2.10.19 • Public • Published

Updates values based on map function. 📦 😺 🏃 📼 🌔 📜 📰 📘

Alternatives: map, map$.
Similar: map, filter, reject, reduce, accumulate.

This is part of package extra-array.

This is browserified, minified version of @extra-array/map.
It is exported as global variable array_map.
CDN: unpkg, jsDelivr.


array.map(x, fm);
// x:  an array
// fm: map function (v, i, x)
const array = require("extra-array");

var x = [1, 2, 3, 4];
array.map(x, v => v * 2);
// [ 2, 4, 6, 8 ]


References

Readme

Keywords

Package Sidebar

Install

npm i @extra-array/map.min

Weekly Downloads

2

Version

2.10.19

License

MIT

Unpacked Size

5.2 kB

Total Files

8

Last publish

Collaborators

  • wolfram77