We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Checks if all values satisfy a test. 🏃 📼 📦 🌔
Similar: some, every.
iterable.every(x, fn, [ths]); // x: an iterable // fn: test function (v, i ,x) // ths: this argument
const iterable = require('extra-iterable'); var x = [1, 2, -3, -4]; iterable.every(x, v => v > 0); // false iterable.every(x, v => v > -10); // true