We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Gives iterator for iterable. 🏃 📼 📦 🌔 📒
Similar: isIterator, iterator, from.
iterable.iterator(x); // x: an iterable
const iterable = require('extra-iterable'); iterable.iterator([1, 2]); // Object [Array Iterator] {} iterable.iterator(new Set([1, 2])); // [Set Iterator] { 1, 2 }