We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Checks if value is once iterable. 🏃 📼 📦 🌔
Alternatives: is, isList, isIterator, isOnce, isMany. Similar: isOnce, isMany, many.
iterable.isOnce(v); // v: a value
const iterable = require('extra-iterable'); var x = [1, 2, 3, 4]; iterable.isOnce(x); // false iterable.isOnce(x.values()); // true