We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Drops values from iterable. 🏃 📼 📦 🌔 📒
Alternatives: drop, dropWhile. Similar: take, drop.
iterable.drop(x, [n]); // x: an iterable // n: number of values (1)
const iterable = require('extra-iterable'); var x = [1, 2, 3, 4, 5]; [...iterable.drop(x, 2)]; // [ 3, 4, 5 ] [...iterable.drop(x, 3)]; // [ 4, 5 ]