We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Couldn't load subscription status. Retry
There was an error while loading. Please reload this page.
Gets values at indices. 🏃 📼 📦 🌔 📒
Alternatives: [get], [getAll]. Similar: [get], [set].
array.getAll(x, is); // x: an array // is: indices (-ve: from right)
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 ]