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

2.10.19 • Public • Published

Gets values at indices. 📦 😺 🏃 📼 🌔 📜 📰 📘

Alternatives: get, getAll, getPath.
Similar: get, set, remove.

This is part of package extra-array.

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


array.getAll(x, is);
// x:  an array
// is: indices
const array = require("extra-array");

var x = [2, 4, 6, 8];
array.getAll(x, [1, 2]);
// [ 4, 6 ]

array.getAll(x, [1, 3]);
// [ 4, 8 ]


References

Package Sidebar

Install

npm i @extra-array/get-all.min

Weekly Downloads

2

Version

2.10.19

License

MIT

Unpacked Size

5.06 kB

Total Files

8

Last publish

Collaborators

  • wolfram77