We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Updates values based on map function. 🏃 📼 📦 🌔 📒
Similar: map, reduce, filter, filterAt, reject, rejectAt.
lists.map(x, fm); // x: lists // fm: map function (v, k, x)
const lists = require('extra-lists'); var x = [['a', 'b', 'c', 'd'], [1, 2, 3, 4]]; lists.map(x, v => v * 2); // [ [ 'a', 'b', 'c', 'd' ], [ 2, 4, 6, 8 ] ]